arm64: dts: rockchip: fix typo in iommu nodes
Subsystems (2)
PATCH 1/1 arm64: dts: rockchip: fix typo in iommu nodes
The latest dtc warns about an extraneous cell in the interrupt property of two of the iommu device nodes:
Warning (interrupts_property): interrupts size is (16), expected multiple of 12 in /iommu at ff373f00 Warning (interrupts_property): interrupts size is (16), expected multiple of 12 in /iommu at ff900800
This removes the typo.
--- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/rockchip/rk3328.dtsi +1 -1
@@ -582,7 +582,7 @@ vop_mmu: iommu at ff373f00 { compatible = "rockchip,iommu"; reg = <0x0 0xff373f00 0x0 0x100>; - interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH 0>; + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "vop_mmu"; #iommu-cells = <0>; status = "disabled";
arch/arm64/boot/dts/rockchip/rk3368.dtsi +1 -1
@@ -740,7 +740,7 @@ iep_mmu: iommu at ff900800 { compatible = "rockchip,iommu"; reg = <0x0 0xff900800 0x0 0x100>; - interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH 0>; + interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "iep_mmu"; #iommu-cells = <0>; status = "disabled";
Signature · 1 line
2.9.0
Hi Arnd,
Am Dienstag, 10. Oktober 2017, 10:56:01 CEST schrieb Arnd Bergmann:
Quoted 7 lines
The latest dtc warns about an extraneous cell in the interrupt property of two of the iommu device nodes:
Warning (
interrupts_property): interrupts size is (16), expected multiple of 12 in /iommu atff373f00Warning (interrupts_property): interrupts size is (16), expected multiple of 12 in /iommu atff900800
Quoted 5 lines
This removes the typo.
Fixes cede4c79de28 ("arm64: dts: rockchip: add rk3368 iommu nodes")Fixes 49c82f2b7c5d ("arm64: dts: rockchip: add rk3328 iommu nodes")Signed-off-by Arnd Bergmann <[email protected]>
looks like that got copy-pasted from rk3399 where we have 4 elements per irq. In any case the change looks good, so if you want to apply it directly to armsoc-fixes here is a
Depending on how you want to handle it I can also merge it, but Olof already picked up my 2 fixes for 4.14, so you applying it might save us the round-trip for a further 1-patch pull request :-)
Heiko
Quoted 33 lines
--- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0
b/arch/arm64/boot/dts/rockchip/rk3328.dtsiindex6d615cb6e64d..41d61840fb99100644arch/arm64/boot/dts/rockchip/rk3328.dtsi +1
-1@@ -582,7 +582,7 @@ vop_mmu: iommu at ff373f00 { compatible = "rockchip,iommu"; reg = <0x0 0xff373f00 0x0 0x100>; - interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH 0>; + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "vop_mmu"; #iommu-cells = <0>; status = "disabled";(quoted diff) +0
-0
b/arch/arm64/boot/dts/rockchip/rk3368.dtsiindex19fbaa5e7bdd..1070c8264c13100644arch/arm64/boot/dts/rockchip/rk3368.dtsi +1
-1@@ -740,7 +740,7 @@ iep_mmu: iommu at ff900800 { compatible = "rockchip,iommu"; reg = <0x0 0xff900800 0x0 0x100>; - interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH 0>; + interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "iep_mmu"; #iommu-cells = <0>; status = "disabled";
Heiko Stuebner
maintainerAm Dienstag, 10. Oktober 2017, 11:48:25 CEST schrieb Heiko St?bner:
Quoted 20 lines
Hi Arnd,
Am Dienstag, 10. Oktober 2017, 10:56:01 CEST schrieb Arnd Bergmann:
Quoted 7 lines
The latest dtc warns about an extraneous cell in the interrupt property of two of the iommu device nodes:
Warning (
interrupts_property): interrupts size is (16), expected multiple of 12 in /iommu atff373f00Warning (interrupts_property): interrupts size is (16), expected multiple of 12 in /iommu atff900800Quoted 5 lines
This removes the typo.
Fixes cede4c79de28 ("arm64: dts: rockchip: add rk3368 iommu nodes")Fixes 49c82f2b7c5d ("arm64: dts: rockchip: add rk3328 iommu nodes")Signed-off-by Arnd Bergmann <[email protected]>looks like that got copy-pasted from rk3399 where we have 4 elements per irq. In any case the change looks good, so if you want to apply it directly to armsoc-fixes here is a
Quoted 5 lines
Acked-by Heiko Stuebner <[email protected]>Depending on how you want to handle it I can also merge it, but Olof already picked up my 2 fixes for 4.14, so you applying it might save us the round-trip for a further 1-patch pull request :-)
as another (somewhat urgent) fix for 64bit dts has come up, I've now also picked this change up for the following pull request.
Heiko