Part Number: DRA821U
Other Parts Discussed in Thread: DRA821
Dear Team,
I am working on a DRA821 custom board with SDK 11.02 and trying to toggle a GPIO from the GPIO controller using the below commands:cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 512-596, parent: platform/42110000.gpio, 42110000.gpio:
gpio-537 ( |eth_reset_gpio ) out lo
gpio-596 ( |fixedregulator-sd ) out lo
gpiochip1: GPIOs 597-665, parent: platform/600000.gpio, 600000.gpio:
gpio-605 ( |Mic detection ) in lo ACTIVE LOW
gpiochip2: GPIOs 666-676, parent: i2c/0-0048, 0-0048, can sleep:
gpio-666 ( |wp ) out hi
echo 513 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio513/direction
cat /sys/class/gpio/gpio513/value
0
echo 1 > /sys/class/gpio/gpio513/value
cat /sys/class/gpio/gpio513/value
0
However, even after changing the GPIO value, the GPIO status remains the same and I am unable to confirm whether the GPIO is toggling properly.
Could you please help us understand how to verify the GPIO toggle status or suggest the correct method to test the GPIO functionality on the board?
Best Regards,
Ashwini