devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: Sascha Hauer <kernel@pengutronix.de>,
	Fabio Estevam <fabio.estevam@nxp.com>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Russell King <linux@armlinux.org.uk>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] ARM: dts: imx6: RIoTboard provide gpio-line-names
Date: Tue, 25 Jul 2017 17:10:45 +0800	[thread overview]
Message-ID: <20170725091043.GJ20064@dragon> (raw)
In-Reply-To: <20170718054022.2867-1-o.rempel@pengutronix.de>

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@pengutronix.de>

Applied, thanks.

      reply	other threads:[~2017-07-25  9:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-18  5:40 [PATCH v2] ARM: dts: imx6: RIoTboard provide gpio-line-names Oleksij Rempel
2017-07-25  9:10 ` Shawn Guo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170725091043.GJ20064@dragon \
    --to=shawnguo@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fabio.estevam@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=o.rempel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).