From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH] Documentation: gpio: fix bindings document Date: Thu, 15 Jan 2015 16:10:54 +0200 Message-ID: <2479604.mfbgZIQjOA@avalon> References: <1421311960-4120-1-git-send-email-yamada.m@jp.panasonic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from galahad.ideasonboard.com ([185.26.127.97]:51460 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754690AbbAOOK2 (ORCPT ); Thu, 15 Jan 2015 09:10:28 -0500 In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Rob Herring Cc: Masahiro Yamada , "devicetree@vger.kernel.org" , Linus Walleij , Mika Westerberg , Arnd Bergmann , Alexandre Courbot , Stephen Warren , "linux-gpio@vger.kernel.org" , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "linux-kernel@vger.kernel.org" Hi Rob, On Thursday 15 January 2015 08:07:18 Rob Herring wrote: > On Thu, Jan 15, 2015 at 2:52 AM, Masahiro Yamada > > wrote: > > Signed-off-by: Masahiro Yamada > > Perhaps some explanation. You can't just remove properties. Please > explain to what extent the old/wrong name is used. This patch is only > okay if there are no users of gpio-phandle. As far as I understand the patch just fixes a typo. There has never been a gpio-phandle for GPIO controllers, only for GPIO consumers. > > --- > > > > Documentation/devicetree/bindings/gpio/gpio.txt | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt > > b/Documentation/devicetree/bindings/gpio/gpio.txt index b9bd1d6..f7a158d > > 100644 > > --- a/Documentation/devicetree/bindings/gpio/gpio.txt > > +++ b/Documentation/devicetree/bindings/gpio/gpio.txt > > @@ -69,7 +69,8 @@ GPIO pin number, and GPIO flags as accepted by the > > "qe_pio_e" gpio-controller.> > > ---------------------------------- > > > > A gpio-specifier should contain a flag indicating the GPIO polarity; > > active-> > > -high or active-low. If it does, the follow best practices should be > > followed: +high or active-low. If it does, the following best practices > > should be> > > +followed: > > The gpio-specifier's polarity flag should represent the physical level at > > the GPIO controller that achieves (or represents, for inputs) a > > logically asserted> > > @@ -147,7 +148,7 @@ contains information structures as follows: > > numeric-gpio-range ::= > > > > > > > > > > named-gpio-range ::= '<0 0>' > > > > - gpio-phandle : phandle to pin controller node. > > + pinctrl-phandle : phandle to pin controller node > > > > gpio-base : Base GPIO ID in the GPIO controller > > pinctrl-base : Base pinctrl pin ID in the pin controller > > count : The number of GPIOs/pins in this range -- Regards, Laurent Pinchart