Hi,
I would like to verify if something is connected on the second gpio bank of
my rt5350.
Therefore I enabled the bank in the dts and now I'm able to see it in /sys:

root@lede:~# ls /sys/class/gpio/
export          gpio7           gpiochip0       gpiochip22
modem3g_enable  unexport
root@lede:~# cat /sys/class/gpio/gpiochip*/base
0
22

But if I try to export one of the pin I get an error:

root@lede:~# echo 23 > /sys/class/gpio/export
-ash: write error: Invalid argument
root@lede:~# echo 22 > /sys/class/gpio/export
-ash: write error: Invalid argument

Can someone help me?
Thanks.
Bye.


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to