Re: [PATCH v2] ARM: dts: imx6: RIoTboard provide gpio-line-names

2017-07-25 Thread Shawn Guo
On Tue, Jul 18, 2017 at 07:40:22AM +0200, Oleksij Rempel wrote: > gpio-line-names may help to make work with GPIOs from user space easier. > Following examples are provided with libgpiod > https://github.com/brgl/libgpiod : > |# Toggle a GPIO by name, then wait for the user to press ENTER. > |$ gpi

[PATCH v2] ARM: dts: imx6: RIoTboard provide gpio-line-names

2017-07-17 Thread Oleksij Rempel
gpio-line-names may help to make work with GPIOs from user space easier. Following examples are provided with libgpiod https://github.com/brgl/libgpiod : |# Toggle a GPIO by name, then wait for the user to press ENTER. |$ gpioset --mode=wait `gpiofind "USR-LED-2"`=1 |# Pause execution until a singl