I am trying set MCU gpio4_IO15(NAND_CLE) as interrupt pin.
Now I modify the .dts file firstly but kernel code donot modify yet.
I type "cat /proc/interrupts" to see but it does not show my device information.
Can I check the proc/interrupts inforamtion if correct without kernel code modified ?
Please help to check my dts if correct ?
inttest{
compatible = "fsl,imx6ul-inttest";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_inttest>;
gpios = <&gpio4 15 0>;
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; <--actually I donot know how to put second number 13, i use 13 beacuse unused
interrupt-parent = <&gpio4>;
};
pinctrl_inttest: inttest {
fsl,pins =<
MX6UL_PAD_NAND_CLE__GPIO4_IO15 0x80000000
>;
};
attached file is my setting
Hi chaocheng
interrupt example can be found on:
Configured GPIO interrupt but ISR is not hitting
In general without kernel code modifications, you should have in
kernel some driver which uses : compatible = "fsl,imx6ul-inttest"..
You can debug it to find where problem happens.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------