Q: We want to get to know the pin details defined in the kernel source, mean which file/folder etc to access the gpio's definitions.
based on that we want to experiment with something like on/off led to have control on the pin's.
and we want to capture the interrupt on the gpio's how can we configure.?
A:
GPIO driver: drivers/gpio/gpio-nuc970.c
GPIO interrupt: arch/arm/mach-nuc970/irq.c
You can refer to Linux BSP user's manual for the GPIO interrupt register flow and GPIO control methods.
[NUC970/N9H30] GPIO definition in driver
-
- Information
-
Who is online
Users browsing this forum: No registered users and 27 guests