[NUC970/N9H30] GPIO definition in driver

Post Reply
pseudonym
Posts: 7
Joined: 25 Mar 2020, 08:31

01 Apr 2020, 15:35

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.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests