looking for GPIO pin to sysfs mappings

It would be nice if there was a webinar or something similar on the J21 GPIO pins on the TX1. I know kangalow has good information on it and I’m going to use what he produced but it would be helpful if there was a tutorial say on how to map the kernel source code to each of the pins on the J21 GPIO

Hello, sherrick:
’ it would be helpful if there was a tutorial say on how to map the kernel source code to each of the pins on the J21 GPIO ’

Do you mean the map between GPIO name and GPIO number? Currently you can refer to gpio-nams.h in kernel package.

br
Chenjian

I would like to know where in the kernel source for L28.1 of the TX1 I can find the mappings for the GPIO pins? I am using kangalows GPIO code and that has 8 mappings but I’d like to use the others.
I’d like to add more pins to be available.

hello sherrick,

please also refer to this topic,
[url]How to switch the led or relay using jetson tx2 gpio pins? - Jetson TX2 - NVIDIA Developer Forums