Commit 5b36166e authored by Andre Przywara's avatar Andre Przywara Committed by Chen-Yu Tsai

arm64: dts: allwinner: Fix PMIC interrupt number

The "r_intc" interrupt controller on the A64 uses a mapping scheme, so
the first (and only) NMI interrupt #0 appears as interrupt number 32
(cf. the top comment in drivers/irqchip/irq-sun6i-r.c).

Fix that number in the interrupts property to properly forward PMIC
interrupts to the CPU.
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Fixes: 4d39a8eb ("arm64: dts: allwinner: Add Jide Remix Mini PC support")
Reviewed-by: default avatarChen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20240515234852.26929-1-andre.przywara@arm.comSigned-off-by: default avatarChen-Yu Tsai <wens@csie.org>
parent 1613e604
...@@ -191,7 +191,7 @@ axp803: pmic@3a3 { ...@@ -191,7 +191,7 @@ axp803: pmic@3a3 {
compatible = "x-powers,axp803"; compatible = "x-powers,axp803";
reg = <0x3a3>; reg = <0x3a3>;
interrupt-parent = <&r_intc>; interrupt-parent = <&r_intc>;
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_LOW>; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
x-powers,drive-vbus-en; x-powers,drive-vbus-en;
vin1-supply = <&reg_vcc5v>; vin1-supply = <&reg_vcc5v>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment