I’m trying to control GPIO pins on a Jetson AGX Orin Developer Kit (expansion header) but I can’t toggle the GPIO state. I need clear, official documentation and practical steps to change a pin configuration to GPIO and control the gpio. Please help with:
Hardware / software
Board: Jetson AGX Orin Developer Kit
L4T version: 36.4
Kernel version: 5.15.148-tegra
What I want to do
Configure specific expansion-header pins as GPIO
Export and toggle the GPIO from user space (set direction, drive high/low).
Know whether GPIO output voltage/current is limited, and how to increase current if possible (safe limits, recommended external drivers, device-tree or regulator settings if applicable).
Tried applying this patch. My issues is I tried to configure gen2_i2c scl pin (PCC.07) as gpio and expected it to be toggled with gpioset. But when I try this I do not get the intended result the gpio doesnt toggle but i can see that my configuration in which i tried to set it as output has been applied with gpioinfo. But I do not get resource busy errors either. I could get another pin CAN0_DOUT PAA.00 to toggle with the same method.