[meta-xilinx] gpio export from device tree
jeff.dagenais at gmail.com
Thu Mar 2 07:19:21 PST 2017
Thanks for this insight.
> On Mar 1, 2017, at 05:16, Alan Levy <alan.levy at 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?
More information about the meta-xilinx