[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170725091043.GJ20064@dragon>
Date: Tue, 25 Jul 2017 17:10:45 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Oleksij Rempel <o.rempel@...gutronix.de>
Cc: Sascha Hauer <kernel@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Russell King <linux@...linux.org.uk>,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] ARM: dts: imx6: RIoTboard provide gpio-line-names
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.
> |$ gpioset --mode=wait `gpiofind "USR-LED-2"`=1
> |# Pause execution until a single event of any type occurs. Don't print
> |# anything. Find the line by name.
> |$ gpiomon --num-events=1 --silent `gpiofind "USR-IN"`
>
> Used names was taken from RIoTboard schematics, version 1 (2013.12.07).
>
> Signed-off-by: Oleksij Rempel <o.rempel@...gutronix.de>
Applied, thanks.
Powered by blists - more mailing lists