gpio after kernel 3.8

11 views
Skip to first unread message

zamek z

unread,
Aug 8, 2014, 3:27:15 AM8/8/14
to omapd...@googlegroups.com
Hi All, 

I would like to use userspace gpio in my pandaboard. Before 3.8 it was very simple, 
echo <gpio_number> > /sys/class/gpio/export 
it made the gpio<gpio_number> directory and I entered the directory and I could set direction and level with simple echo commands. 

After Kernel 3.8 there was a new gpio system, named pinctrl. 

In a 3.12 kernel I can export the wanted gpio to /sys/cass/gpio, and it creates the directory and virtually everything is works. But at the expansion header I cannot detect anything. 

Maybe I need to set mux setting. Could somebody help me how can I use for example gpio39 or any gpio pin in j3? 

thx
Zamek
Reply all
Reply to author
Forward
0 new messages