On 9/9/2015 11:41 AM, bremenpl wrote: > Hello there, > I just got back to my BeagleBone Black and i have no idea why but I just > cannot change a pin configuration using overlay nor through export. This is > what I am trying to do: > > I want to set P8_29 and P8_31 Pins to inputs with a pullup (0x37). here is > my overlay:
<snip overlay stuff> > Then I check the pins and they remain as they were in default: > > root@beaglebone:~# cat $PINS | grep "pin 57" > pin 57 (44e108e4) 00000027 pinctrl-single > root@beaglebone:~# cat $PINS | grep "pin 54" > pin 54 (44e108d8) 0000002f pinctrl-single > > > Did I forget something? I really cant think of anything. I would really > apreciate all help here! Well, since you're using gpio-of-helper (designed to allow export of GPIO pins via the device tree instead of using sysfs), but *NOT* actually defining any GPIO pins, I'm not sure the gpio-of-helper driver is applying your pinmux settings. Try adding the GPIO pins you want to the gpio_helper stanza in fragment 1 and configure them as inputs. -- Charles Steinkuehler [email protected] -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
