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

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.com


Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
parent 1613e604
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ axp803: pmic@3a3 {
		compatible = "x-powers,axp803";
		reg = <0x3a3>;
		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;

		vin1-supply = <&reg_vcc5v>;