linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: wr.phallsma@gmail.com
To: linux-gpio@vger.kernel.org
Cc: Per Hallsmark <per.hallsmark@windriver.com>
Subject: [PATCH] Documentation: minor correction of gpio dts example
Date: Wed, 27 Jan 2016 16:38:11 +0100	[thread overview]
Message-ID: <1453909091-16955-1-git-send-email-wr.phallsma@gmail.com> (raw)

From: Per Hallsmark <per.hallsmark@windriver.com>

As the example brings up two ranges of 10 pins each, the count
should be 10 in both range definitions.

Signed-off-by: Per Hallsmark <per.hallsmark@windriver.com>
---
 Documentation/devicetree/bindings/gpio/gpio.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt
index 069cdf6..ad3d64b 100644
--- a/Documentation/devicetree/bindings/gpio/gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio.txt
@@ -252,7 +252,7 @@ Example 1:
 		compatible = "fsl,qe-pario-bank-e", "fsl,qe-pario-bank";
 		reg = <0x1460 0x18>;
 		gpio-controller;
-		gpio-ranges = <&pinctrl1 0 20 10>, <&pinctrl2 10 50 20>;
+		gpio-ranges = <&pinctrl1 0 20 10>, <&pinctrl2 10 50 10>;
 	};
 
 Here, a single GPIO controller has GPIOs 0..9 routed to pin controller
-- 
2.5.0


             reply	other threads:[~2016-01-27 15:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27 15:38 wr.phallsma [this message]
2016-01-28  1:15 ` [PATCH] Documentation: minor correction of gpio dts example Alexandre Courbot

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=1453909091-16955-1-git-send-email-wr.phallsma@gmail.com \
    --to=wr.phallsma@gmail.com \
    --cc=linux-gpio@vger.kernel.org \
    --cc=per.hallsmark@windriver.com \
    /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).