In the document “Parker trm dp07821001p.pdf” Page sixty-nine:
He Say Six GPIO controllers with each three interrupts.
Our case, we want to use
NetName CAM0_PWDN(Pin#G8) as PinMux Function GPIO03_PR.00 as Interrupt1,like a button input.
NetName CONN_CAM0_RST_L(Pin#H8) as PinMux Function GPIO03_PR.05 as Interrupt, like a button input also.
and FlASH_EN as PinMux Function GPIO03_PX.06 , FlASH_STROBE as PinMux Function GPIO03_PV.05
all four pins as a interrupt source , just like a button input .
We also found that Power_BTN FORCE_RECOV_BTN ,VOL_DOWN as GPIO_03_PFF.00 GPIO_03_PFF.01 GPIO_03_PFF.02
Are all these interrupt source ? Can we use more than three GPIO_03 Pins as interrupt pins .
I have max14830 IC on tx2 interface board. which doesn’t have a dedicated interrupt controller. so I connected it’s interrupt line to gpio exp0 pin. but I want to know How do I configure it in device tree?
the “interrupt-parent” property is used to specify the controller to which interrupts are routed and contains a single phandle referring to the interrupt controller node.
Can you please also tell me how do I find out interrupt number of GPIO_EXP0 pin in order to specify it as interrupt-parent for max14830 node in device tree. we have connected max14830 interrupt line to GPIO_EXP0 pin on tx2 which is mapped to gpio@2200000 node in device tree.