Other Parts Discussed in Thread: TLV320AIC3106
Hi,
I want to test the gpio based interrupts from an Linux application for am335x platform.
The operations to test are enable/disable/read IRQs for RTC, PMIC, ARCNET, FASTE, GIGE peripherals.
After enable the irq, the app shall need to trigger the particular interrupt somehow, and be able to verify that interrupt is generated.
Is there any common way/solution to enable/disable particular IRQ from the Linux user space for the above peripherals on am335x platform?
Such that the app can send down an IOCTL (with GPIO number argument) to a pseudo driver which shall handle the enable/disable/read IRQ requests.
So I would like to know whether there exist any generic solution/interface available to enable/disable IRQs, of peripherals mentioned above, from a kernel driver level?
Or what are all the possible ways/methods that this can be achieved?
The kernel version I am using is 3.12.10. (SDK version 7)
Kindly let me know if further details are required regarding this.