]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx8-ss-vpu: Fix imx8qm VPU IRQs
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Wed, 4 Sep 2024 11:41:03 +0000 (13:41 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 16 Oct 2024 04:00:18 +0000 (12:00 +0800)
imx8-ss-vpu only contained imx8qxp IRQ numbers, only mu2_m0 uses the
correct imx8qm IRQ number, as imx8qxp lacks this MU.
Fix this by providing imx8qm IRQ numbers in the main imx8-ss-vpu.dtsi
and override the IRQ numbers in SoC-specific imx8qxp-ss-vpu.dtsi, similar
to reg property for VPU core devices.

Fixes: 0d9968d98467d ("arm64: dts: freescale: imx8q: add imx vpu codec entries")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8-ss-vpu.dtsi
arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi

index c6540768bdb9265f74bf80cab55bfca52eeb68f4..87211c18d65a95cddaba6be4dcb33284940cb685 100644 (file)
@@ -15,7 +15,7 @@ vpu: vpu@2c000000 {
        mu_m0: mailbox@2d000000 {
                compatible = "fsl,imx6sx-mu";
                reg = <0x2d000000 0x20000>;
-               interrupts = <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
+               interrupts = <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>;
                #mbox-cells = <2>;
                power-domains = <&pd IMX_SC_R_VPU_MU_0>;
                status = "disabled";
@@ -24,7 +24,7 @@ vpu: vpu@2c000000 {
        mu1_m0: mailbox@2d020000 {
                compatible = "fsl,imx6sx-mu";
                reg = <0x2d020000 0x20000>;
-               interrupts = <GIC_SPI 470 IRQ_TYPE_LEVEL_HIGH>;
+               interrupts = <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>;
                #mbox-cells = <2>;
                power-domains = <&pd IMX_SC_R_VPU_MU_1>;
                status = "disabled";
index 7894a3ab26d6bc4c130ef239ed4337bb695acfff..f81937b5fb720d29ac93e09f08448fb4f4752c76 100644 (file)
@@ -5,6 +5,14 @@
  * Author: Alexander Stein
  */
 
+&mu_m0 {
+       interrupts = <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
+};
+
+&mu1_m0 {
+       interrupts = <GIC_SPI 470 IRQ_TYPE_LEVEL_HIGH>;
+};
+
 &vpu_core0 {
        reg = <0x2d040000 0x10000>;
 };