Message ID | 20220714183328.4137-4-pali@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2,1/4] gpio: mvebu: Fix check for pwm support on non-A8K platforms | expand |
Pali Rohár <pali@kernel.org> writes: > Armada 39x supports per CPU interrupts for gpios, like Armada XP. > > So add compatible string "marvell,armadaxp-gpio" for Armada 39x GPIO nodes. > > 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: d81a914fc630 ("ARM: dts: mvebu: armada-39x: add missing nodes describing GPIO's") Applied on mvebu/dt Thanks, Gregory > --- > arch/arm/boot/dts/armada-39x.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi > index e0b7c2099831..ef3a3859802c 100644 > --- a/arch/arm/boot/dts/armada-39x.dtsi > +++ b/arch/arm/boot/dts/armada-39x.dtsi > @@ -213,7 +213,7 @@ > }; > > gpio0: gpio@18100 { > - compatible = "marvell,orion-gpio"; > + compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; > reg = <0x18100 0x40>; > ngpios = <32>; > gpio-controller; > @@ -227,7 +227,7 @@ > }; > > gpio1: gpio@18140 { > - compatible = "marvell,orion-gpio"; > + compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; > reg = <0x18140 0x40>; > ngpios = <28>; > gpio-controller; > -- > 2.20.1 >
diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi index e0b7c2099831..ef3a3859802c 100644 --- a/arch/arm/boot/dts/armada-39x.dtsi +++ b/arch/arm/boot/dts/armada-39x.dtsi @@ -213,7 +213,7 @@ }; gpio0: gpio@18100 { - compatible = "marvell,orion-gpio"; + compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; reg = <0x18100 0x40>; ngpios = <32>; gpio-controller; @@ -227,7 +227,7 @@ }; gpio1: gpio@18140 { - compatible = "marvell,orion-gpio"; + compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio"; reg = <0x18140 0x40>; ngpios = <28>; gpio-controller;
Armada 39x supports per CPU interrupts for gpios, like Armada XP. So add compatible string "marvell,armadaxp-gpio" for Armada 39x GPIO nodes. 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: d81a914fc630 ("ARM: dts: mvebu: armada-39x: add missing nodes describing GPIO's") --- arch/arm/boot/dts/armada-39x.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)