Why not do it in your applications?

http://derekmolloy.ie/kernel-gpio-programming-buttons-and-leds/

Regards,
John




> On Apr 3, 2016, at 4:14 PM, Rick Mann <rm...@latencyzero.com> wrote:
> 
> I configure a few GPIOs for my application. Is this something that can be 
> accomplished entirely via DTB?
> 
>       # cd /sys/class/gpio
>       
>       # echo 50 > export
>       # echo 115 > export
>       # echo out > gpio50/direction
>       # echo out > gpio115/direction
> 
>       # echo 1 > gpio50/value
>       # echo 1 > gpio115/value
>       
>       # echo 0 > gpio50/value
>       # echo 0 > gpio115/value
> 
> That is, setting which GPIOs are enabled, setting their direction, and 
> setting their output state?
> 
> Thanks,
> 
> -- 
> Rick Mann
> rm...@latencyzero.com
> 
> 
> -- 
> 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 beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to