diff mbox series

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

Message ID 20220727131619.3056-1-pali@kernel.org (mailing list archive)
State New, archived
Headers show
Series ARM: dts: armada-38x: Add gpio-ranges for pin muxing | expand

Commit Message

Pali Rohár July 27, 2022, 1:16 p.m. UTC
GPIOs are configured by pinmux driver, so add corresponding references.

Fixes: 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs")
Signed-off-by: Pali Rohár <pali@kernel.org>
---
 arch/arm/boot/dts/armada-38x.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Pali Rohár Aug. 31, 2022, 2:27 p.m. UTC | #1
PING?

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")
> Signed-off-by: Pali Rohár <pali@kernel.org>
> ---
>  arch/arm/boot/dts/armada-38x.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
> index a176898944f7..1590143c52c8 100644
> --- a/arch/arm/boot/dts/armada-38x.dtsi
> +++ b/arch/arm/boot/dts/armada-38x.dtsi
> @@ -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;
> -- 
> 2.20.1
>
Gregory CLEMENT Sept. 2, 2022, 3:25 p.m. UTC | #2
Pali Rohár <pali@kernel.org> writes:

> GPIOs are configured by pinmux driver, so add corresponding references.
>
> Fixes: 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs")
> Signed-off-by: Pali Rohár <pali@kernel.org>

Applied on mvebu/dt

Thanks,

Gregory
> ---
>  arch/arm/boot/dts/armada-38x.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
> index a176898944f7..1590143c52c8 100644
> --- a/arch/arm/boot/dts/armada-38x.dtsi
> +++ b/arch/arm/boot/dts/armada-38x.dtsi
> @@ -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;
> -- 
> 2.20.1
>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index a176898944f7..1590143c52c8 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -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;