linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: minor correction of gpio dts example
@ 2016-01-27 15:38 wr.phallsma
  2016-01-28  1:15 ` Alexandre Courbot
  0 siblings, 1 reply; 2+ messages in thread
From: wr.phallsma @ 2016-01-27 15:38 UTC (permalink / raw)
  To: linux-gpio; +Cc: Per Hallsmark

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-28  1:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27 15:38 [PATCH] Documentation: minor correction of gpio dts example wr.phallsma
2016-01-28  1:15 ` Alexandre Courbot

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).