All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: r8a779a0: enable gpio-ranges
@ 2020-12-28 13:49 Wolfram Sang
  0 siblings, 0 replies; only message in thread
From: Wolfram Sang @ 2020-12-28 13:49 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: Geert Uytterhoeven, Wolfram Sang

Now that we have PFC support, we can also enable gpio-ranges. This
enables requesting GPIOs.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

This is now part of my renesas/v3u/gpio branch. Geert, feel free to
squash it into your GPIO series.

 arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
index 16c64ec548df..cd2d65c6c865 100644
--- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
@@ -113,7 +113,7 @@ gpio0: gpio@e6058180 {
 			resets =  <&cpg 1331>;
 			gpio-controller;
 			#gpio-cells = <2>;
-			// gpio-ranges = <&pfc 0 0 28>;
+			gpio-ranges = <&pfc 0 0 28>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
@@ -127,7 +127,7 @@ gpio1: gpio@e6050180 {
 			resets =  <&cpg 1330>;
 			gpio-controller;
 			#gpio-cells = <2>;
-			// gpio-ranges = <&pfc 0 32 31>;
+			gpio-ranges = <&pfc 0 32 31>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
@@ -141,7 +141,7 @@ gpio2: gpio@e6050980 {
 			resets =  <&cpg 1330>;
 			gpio-controller;
 			#gpio-cells = <2>;
-			// gpio-ranges = <&pfc 0 64 25>;
+			gpio-ranges = <&pfc 0 64 25>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
@@ -155,7 +155,7 @@ gpio3: gpio@e6058980 {
 			resets =  <&cpg 1331>;
 			gpio-controller;
 			#gpio-cells = <2>;
-			// gpio-ranges = <&pfc 0 96 17>;
+			gpio-ranges = <&pfc 0 96 17>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
@@ -169,7 +169,7 @@ gpio4: gpio@e6060180 {
 			resets =  <&cpg 1400>;
 			gpio-controller;
 			#gpio-cells = <2>;
-			// gpio-ranges = <&pfc 0 128 27>;
+			gpio-ranges = <&pfc 0 128 27>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
@@ -183,7 +183,7 @@ gpio5: gpio@e6060980 {
 			resets =  <&cpg 1400>;
 			gpio-controller;
 			#gpio-cells = <2>;
-			// gpio-ranges = <&pfc 0 160 21>;
+			gpio-ranges = <&pfc 0 160 21>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
@@ -197,7 +197,7 @@ gpio6: gpio@e6068180 {
 			resets =  <&cpg 1401>;
 			gpio-controller;
 			#gpio-cells = <2>;
-			// gpio-ranges = <&pfc 0 192 21>;
+			gpio-ranges = <&pfc 0 192 21>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
@@ -211,7 +211,7 @@ gpio7: gpio@e6068980 {
 			resets =  <&cpg 1401>;
 			gpio-controller;
 			#gpio-cells = <2>;
-			// gpio-ranges = <&pfc 0 224 21>;
+			gpio-ranges = <&pfc 0 224 21>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
@@ -225,7 +225,7 @@ gpio8: gpio@e6069180 {
 			resets =  <&cpg 1401>;
 			gpio-controller;
 			#gpio-cells = <2>;
-			// gpio-ranges = <&pfc 0 256 21>;
+			gpio-ranges = <&pfc 0 256 21>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
@@ -239,7 +239,7 @@ gpio9: gpio@e6069980 {
 			resets =  <&cpg 1401>;
 			gpio-controller;
 			#gpio-cells = <2>;
-			// gpio-ranges = <&pfc 0 288 21>;
+			gpio-ranges = <&pfc 0 288 21>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
-- 
2.29.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-28 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-28 13:49 [PATCH] arm64: dts: r8a779a0: enable gpio-ranges Wolfram Sang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.