devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] ARM: mxc: fix gpio-ranges for VF610
@ 2013-06-13 20:59 Stephen Warren
       [not found] ` <1371157199-7272-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Warren @ 2013-06-13 20:59 UTC (permalink / raw)
  To: Linus Walleij, Shawn Guo
  Cc: Stephen Warren, Shiraz Hashim,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Rob Herring,
	Jingchang Lu, Haojian Zhuang, linux-gpio-u79uwXL29TY76Z2rM5mHXA,
	Grant Likely, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

The gpio-ranges properties in vf610.dtsi were written according to an
older version of the GPIO bindings. Unfortunately, these were changed
incompatibly in commit 86853c8 "gpio: add gpio offset in gpio range
cells property". This patch adds the missing required extra cell in each
gpio-ranges property.

Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
This should be immediately applied to the tree which added vf610.dtsi.
---
 arch/arm/boot/dts/vf610.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index 659d845..e1eb7da 100644
--- a/arch/arm/boot/dts/vf610.dtsi
+++ b/arch/arm/boot/dts/vf610.dtsi
@@ -162,7 +162,7 @@
 			iomuxc: iomuxc@40048000 {
 				compatible = "fsl,vf610-iomuxc";
 				reg = <0x40048000 0x1000>;
-				#gpio-range-cells = <2>;
+				#gpio-range-cells = <3>;
 
 				/* functions and groups pins */
 
@@ -343,7 +343,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
-				gpio-ranges = <&iomuxc 0 32>;
+				gpio-ranges = <&iomuxc 0 0 32>;
 			};
 
 			gpio2: gpio@4004a000 {
@@ -354,7 +354,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
-				gpio-ranges = <&iomuxc 32 32>;
+				gpio-ranges = <&iomuxc 0 32 32>;
 			};
 
 			gpio3: gpio@4004b000 {
@@ -365,7 +365,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
-				gpio-ranges = <&iomuxc 64 32>;
+				gpio-ranges = <&iomuxc 0 64 32>;
 			};
 
 			gpio4: gpio@4004c000 {
@@ -376,7 +376,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
-				gpio-ranges = <&iomuxc 96 32>;
+				gpio-ranges = <&iomuxc 0 96 32>;
 			};
 
 			gpio5: gpio@4004d000 {
@@ -387,7 +387,7 @@
 				#gpio-cells = <2>;
 				interrupt-controller;
 				#interrupt-cells = <2>;
-				gpio-ranges = <&iomuxc 128 7>;
+				gpio-ranges = <&iomuxc 0 128 7>;
 			};
 
 			anatop@40050000 {
-- 
1.8.1.5

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

end of thread, other threads:[~2013-06-24 12:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-13 20:59 [PATCH 1/7] ARM: mxc: fix gpio-ranges for VF610 Stephen Warren
     [not found] ` <1371157199-7272-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-06-13 20:59   ` [PATCH 2/7] gpio: clean up gpio-ranges documentation Stephen Warren
     [not found]     ` <1371157199-7272-2-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-06-16 12:43       ` Linus Walleij
2013-06-13 20:59   ` [PATCH 3/7] of: move documentation of of_parse_phandle_with_args Stephen Warren
2013-06-13 20:59   ` [PATCH 4/7] of: introduce of_parse_phandle_with_fixed_args Stephen Warren
     [not found]     ` <1371157199-7272-4-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-06-21 22:44       ` Stephen Warren
     [not found]         ` <51C4D75C.9060007-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-06-24 12:20           ` Linus Walleij
2013-06-13 20:59   ` [PATCH 5/7] gpio: implement gpio-ranges binding document fix Stephen Warren
2013-06-13 20:59   ` [PATCH 6/7] ARM: spear: remove #gpio-ranges-cells property Stephen Warren
     [not found]     ` <1371157199-7272-6-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-06-14  3:59       ` Viresh Kumar
2013-06-13 20:59   ` [PATCH 7/7] ARM: mxc: " Stephen Warren
2013-06-14 12:21   ` [PATCH 1/7] ARM: mxc: fix gpio-ranges for VF610 Shawn Guo

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