Hi Alan,

Thanks for this insight.

> On Mar 1, 2017, at 05:16, Alan Levy <alan.l...@plextek.com> wrote:
> 
> In order to give userspace GPIOs sane names I use devicetree aliases which 
> application code can access from /proc/device-tree/aliases. Each GPIO has an 
> alias with a sensible name and the string I assign to it supplies the GPIO 
> pin number and any other relevant info such as whether it's an input or an 
> output and whether it's active high or active low.
> 
> This technique can also be used to tell application the base pin numbers for 
> MIO/EMIO if you wish. 

Can you point to an example? Or copy/paste a bit of it here?
-- 
_______________________________________________
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to