PINE64
+LTS/SOPINE +PINEBOOK configuring Euler Bus pin generate interrupt - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32)
+---- Forum: Pi2, Euler and Exp GPIO Ports (https://forum.pine64.org/forumdisplay.php?fid=34)
+---- Thread: +LTS/SOPINE +PINEBOOK configuring Euler Bus pin generate interrupt (/showthread.php?tid=7040)



configuring Euler Bus pin generate interrupt - RANJITT76 - 01-10-2019

Hi,  I am looking for help to configure Euler Bus pin  in Pine A64+  to generate kernel interrupt. For example. Pin no. 27(PB2) in Euler Bus, have multiplexing function of PB_EINT2.
I would like to register interrupt handler for this pin in the kernel with a help of a simple kernel module.  Need help on how to define this pin characteristic in device tree file so that it can be configured to receive external interrupt. Any help will be highly apricated.

Regards
RANJIT