From patchwork Thu Jan 15 08:52:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 429289 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 1E442140285 for ; Thu, 15 Jan 2015 19:53:05 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752135AbbAOIws (ORCPT ); Thu, 15 Jan 2015 03:52:48 -0500 Received: from smtp.mei.co.jp ([133.183.100.20]:38655 "EHLO smtp.mei.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751437AbbAOIwq (ORCPT ); Thu, 15 Jan 2015 03:52:46 -0500 Received: from mail-gw.jp.panasonic.com ([157.8.1.157]) by smtp.mei.co.jp (8.12.11.20060614/3.7W/kc-maile12) with ESMTP id t0F8qhTM012058; Thu, 15 Jan 2015 17:52:43 +0900 (JST) Received: from epochmail.jp.panasonic.com ([157.8.1.130]) by mail.jp.panasonic.com (8.11.6p2/3.7W/kc-maili12) with ESMTP id t0F8qho27117; Thu, 15 Jan 2015 17:52:43 +0900 Received: by epochmail.jp.panasonic.com (8.12.11.20060308/3.7W/lomi11) id t0F8qhWA030209; Thu, 15 Jan 2015 17:52:43 +0900 Received: from poodle by lomi11.jp.panasonic.com (8.12.11.20060308/3.7W) with ESMTP id t0F8qhX6030163; Thu, 15 Jan 2015 17:52:43 +0900 Received: from beagle.diag.org (beagle.diag.org [10.184.179.16]) by poodle (Postfix) with ESMTP id 3DC4A2743A5C; Thu, 15 Jan 2015 17:52:43 +0900 (JST) From: Masahiro Yamada To: devicetree@vger.kernel.org Cc: Linus Walleij , Mika Westerberg , Arnd Bergmann , Alexandre Courbot , Stephen Warren , linux-gpio@vger.kernel.org, Masahiro Yamada , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Laurent Pinchart , linux-kernel@vger.kernel.org Subject: [PATCH] Documentation: gpio: fix bindings document Date: Thu, 15 Jan 2015 17:52:40 +0900 Message-Id: <1421311960-4120-1-git-send-email-yamada.m@jp.panasonic.com> X-Mailer: git-send-email 1.9.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: Masahiro Yamada Acked-by: Laurent Pinchart --- 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