Skip to content

Commit 5b36166

Browse files
Andre-ARMwens
authored andcommitted
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: Andre Przywara <[email protected]> Fixes: 4d39a8e ("arm64: dts: allwinner: Add Jide Remix Mini PC support") Reviewed-by: Chen-Yu Tsai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
1 parent 1613e60 commit 5b36166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/boot/dts/allwinner/sun50i-h64-remix-mini-pc.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
compatible = "x-powers,axp803";
192192
reg = <0x3a3>;
193193
interrupt-parent = <&r_intc>;
194-
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_LOW>;
194+
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
195195
x-powers,drive-vbus-en;
196196

197197
vin1-supply = <&reg_vcc5v>;

0 commit comments

Comments
 (0)