Skip to contentSkip to conversation

arm64: dts: r8a779a0: enable gpio-ranges

PATCH New Wolfram Sang 1 participant 1 message Dec 28, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: r8a779a0: enable gpio-ranges

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

---

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(-)
arch/arm64/boot/dts/renesas/r8a779a0.dtsi +10 -10
index 16c64ec548df..cd2d65c6c865 100644
@@ -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>;
 		};
Signature · 1 line
2.29.2