diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2017-07-18 07:40:22 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-07-25 17:09:14 +0800 |
commit | e8ebecf60fb79b960c6c9157ec2feb0bddd215a9 (patch) | |
tree | 85fcad649460df76fa313226e1fd91ace6a6aa68 /arch/arm/boot/dts/kirkwood-net5big.dts | |
parent | a0b835e4b864ed160b5bc55add8249d2fcfa1ad4 (diff) |
ARM: dts: imx6: RIoTboard provide gpio-line-names
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@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-net5big.dts')
0 files changed, 0 insertions, 0 deletions