]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: mstar: Add interrupt to pm_uart
authorDaniel Palmer <daniel@0x0f.com>
Fri, 2 Oct 2020 13:34:16 +0000 (22:34 +0900)
committerOlof Johansson <olof@lixom.net>
Sat, 3 Oct 2020 19:48:14 +0000 (12:48 -0700)
Since we now have support for the interrupt controller pm_uart's
interrupt is routed through it make sense to wire up it's interrupt
in the device tree.

The interrupt is the same for all known chips so it goes in the
base dtsi.

Link: https://lore.kernel.org/r/20201002133418.2250277-4-daniel@0x0f.com
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/mstar-v7.dtsi

index aec841b52ca4dfefdb5cf7ce7868a1b6fb5191f4..f07880561e11dad007d2e78474f405c97ca31607 100644 (file)
                                compatible = "ns16550a";
                                reg = <0x221000 0x100>;
                                reg-shift = <3>;
+                               interrupts-extended = <&intc_irq GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
                                clock-frequency = <172000000>;
                                status = "disabled";
                        };