Skip to contentSkip to conversation

ARM: dts: armada-38x: Add gpio-ranges for pin muxing

PATCH In review Pali Rohár 2 participants 3 messages Jul 27, 2022 – Sep 2, 2022 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: armada-38x: Add gpio-ranges for pin muxing

GPIOs are configured by pinmux driver, so add corresponding references.

Fixes 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs")
---
 arch/arm/boot/dts/armada-38x.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/armada-38x.dtsi +2 -0
index a176898944f7..1590143c52c8 100644
@@ -298,6 +298,7 @@
 				reg-names = "gpio", "pwm";
 				ngpios = <32>;
 				gpio-controller;
+				gpio-ranges = <&pinctrl 0 0 32>;
 				#gpio-cells = <2>;
 				#pwm-cells = <2>;
 				interrupt-controller;
@@ -316,6 +317,7 @@
 				reg-names = "gpio", "pwm";
 				ngpios = <28>;
 				gpio-controller;
+				gpio-ranges = <&pinctrl 0 32 28>;
 				#gpio-cells = <2>;
 				#pwm-cells = <2>;
 				interrupt-controller;
Signature · 1 line
2.20.1
#1 lore raw

PING?

Quoted 31 lines · On Wednesday 27 July 2022 15:16:19 Pali Rohár wrote:

GPIOs are configured by pinmux driver, so add corresponding references.

Fixes 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs")
---
 arch/arm/boot/dts/armada-38x.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/armada-38x.dtsi +2 -0
index a176898944f7..1590143c52c8 100644
@@ -298,6 +298,7 @@
 				reg-names = "gpio", "pwm";
 				ngpios = <32>;
 				gpio-controller;
+				gpio-ranges = <&pinctrl 0 0 32>;
 				#gpio-cells = <2>;
 				#pwm-cells = <2>;
 				interrupt-controller;
@@ -316,6 +317,7 @@
 				reg-names = "gpio", "pwm";
 				ngpios = <28>;
 				gpio-controller;
+				gpio-ranges = <&pinctrl 0 32 28>;
 				#gpio-cells = <2>;
 				#pwm-cells = <2>;
 				interrupt-controller;
Signature · 1 line
2.20.1
#2 lore raw
In reply to Pali Rohár
Quoted 4 lines · Pali Rohár

GPIOs are configured by pinmux driver, so add corresponding references.

Fixes 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs")

Applied on mvebu/dt

Thanks,

Gregory

Quoted 27 lines
---
 arch/arm/boot/dts/armada-38x.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/armada-38x.dtsi +2 -0
index a176898944f7..1590143c52c8 100644
@@ -298,6 +298,7 @@
 				reg-names = "gpio", "pwm";
 				ngpios = <32>;
 				gpio-controller;
+				gpio-ranges = <&pinctrl 0 0 32>;
 				#gpio-cells = <2>;
 				#pwm-cells = <2>;
 				interrupt-controller;
@@ -316,6 +317,7 @@
 				reg-names = "gpio", "pwm";
 				ngpios = <28>;
 				gpio-controller;
+				gpio-ranges = <&pinctrl 0 32 28>;
 				#gpio-cells = <2>;
 				#pwm-cells = <2>;
 				interrupt-controller;
Signature · 1 line
2.20.1
Signature · 8 lines
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel