We’re experiencing the same issue. Using gpioset we are able to toggle the pin on and off (as shown in /sys/kernel/debug/gpio) but the voltage on the corresponding pin does not change. Strangely, on an oscilloscope we see occasional state changes and pulses on PP.04, regardless of the commanded state of the pin.
- Is it possible to re-enable the sysfs interface?
- Is there any special driver initialization or configuration needed for the gpiod interface to work?
- Were there significant changes made to the device tree that prevent correct operation of the GPIO?
As described by table 3-4 in Jetson_AGX_Orin_DevKit_Carrier_Board_Specification_SP-10900-001_v1.0.pdf, PP.04 corresponds to pin 22 on the header. We are using the following commands to cycle this pin, the offset of which (96) we found as per this guide.
gpioset --mode=time -s 1 /dev/gpiochip0 96=1
gpioset --mode=time -s 1 /dev/gpiochip0 96=0
When commanded high, we see this in /sys/kernel/debug/gpio:
gpio-437 (PN.05 )
gpio-438 (PN.06 )
gpio-439 (PN.07 )
gpio-440 (PP.00 )
gpio-441 (PP.01 )
gpio-442 (PP.02 )
gpio-443 (PP.03 )
gpio-444 (PP.04 |gpioset ) out hi
gpio-445 (PP.05 )
gpio-446 (PP.06 )
gpio-447 (PP.07 )
gpio-448 (PQ.00 )
gpio-449 (PQ.01 )
gpio-450 (PQ.02 )