]> git.itanic.dy.fi Git - linux-stable/commitdiff
ARM: dts: armada-38x: Fix compatible string for gpios
authorPali Rohár <pali@kernel.org>
Thu, 14 Jul 2022 18:33:27 +0000 (20:33 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 28 Nov 2022 00:04:58 +0000 (01:04 +0100)
Armada 38x supports per CPU interrupts for gpios, like Armada XP. Pre-XP
variants like Armada 370 do not support per CPU interrupts for gpios.

So change compatible string for Armada 38x from "marvell,armada-370-gpio"
which indicates pre-XP variant to "marvell,armadaxp-gpio" which indicates
XP variant or new.

Driver gpio-mvebu.c which handles both pre-XP and XP variants already
provides support for per CPU interrupts on XP and newer variants.

Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: 7cb2acb3fbae ("ARM: dts: mvebu: Add PWM properties for armada-38x")
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-38x.dtsi

index 446861b6b17b2ae628a42a4a32dca94a0b5b1f21..12933eff419ff877366f804e0488b666a5121230 100644 (file)
@@ -304,7 +304,7 @@ spdif_pins: spdif-pins {
                        };
 
                        gpio0: gpio@18100 {
-                               compatible = "marvell,armada-370-gpio",
+                               compatible = "marvell,armadaxp-gpio",
                                             "marvell,orion-gpio";
                                reg = <0x18100 0x40>, <0x181c0 0x08>;
                                reg-names = "gpio", "pwm";
@@ -323,7 +323,7 @@ gpio0: gpio@18100 {
                        };
 
                        gpio1: gpio@18140 {
-                               compatible = "marvell,armada-370-gpio",
+                               compatible = "marvell,armadaxp-gpio",
                                             "marvell,orion-gpio";
                                reg = <0x18140 0x40>, <0x181c8 0x08>;
                                reg-names = "gpio", "pwm";