[PATCH] arm64: dts: r8a779a0: enable gpio-ranges

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
---

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




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux