Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751595AbdGYJLd (ORCPT ); Tue, 25 Jul 2017 05:11:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:47278 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750968AbdGYJL3 (ORCPT ); Tue, 25 Jul 2017 05:11:29 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1893C21C99 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=shawnguo@kernel.org Date: Tue, 25 Jul 2017 17:10:45 +0800 From: Shawn Guo To: Oleksij Rempel Cc: Sascha Hauer , Fabio Estevam , Rob Herring , Mark Rutland , Russell King , 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 Message-ID: <20170725091043.GJ20064@dragon> References: <20170718054022.2867-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170718054022.2867-1-o.rempel@pengutronix.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 666 Lines: 15 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 Applied, thanks.