All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [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.

WARNING: multiple messages have this Message-ID (diff)
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: 5+ 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-18  5:40 ` Oleksij Rempel
2017-07-18  5:40 ` Oleksij Rempel
2017-07-25  9:10 ` Shawn Guo [this message]
2017-07-25  9:10   ` Shawn Guo

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=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.