]> Git Repo - linux.git/commitdiff
arm64: dts: allwinner: h6: Add IOMMU reference to Hantro G2
authorChen-Yu Tsai <[email protected]>
Tue, 15 Nov 2022 09:06:44 +0000 (17:06 +0800)
committerJernej Skrabec <[email protected]>
Wed, 16 Nov 2022 18:30:57 +0000 (19:30 +0100)
The Hantro G2 video decoder block sits behind the IOMMU. Without a
reference for the system to properly configure the IOMMU, it will fault
and cause the video decoder to fail.

Add a proper reference to the IOMMU port. The master ID is taken from
the IOMMU fault error message on Linux, and the number seems to match
the order in the user manual's IOMMU diagram.

Fixes: 0baddea60e8d ("arm64: dts: allwinner: h6: Add Hantro G2 node")
Signed-off-by: Chen-Yu Tsai <[email protected]>
Acked-by: Jernej Skrabec <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jernej Skrabec <[email protected]>
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi

index 53f6660656ac59ef98273edfbf1435786920bb91..ca1d287a0a01d981f12cccf5f990303085a60462 100644 (file)
                        clocks = <&ccu CLK_BUS_VP9>, <&ccu CLK_VP9>;
                        clock-names = "bus", "mod";
                        resets = <&ccu RST_BUS_VP9>;
+                       iommus = <&iommu 5>;
                };
 
                video-codec@1c0e000 {
This page took 0.058304 seconds and 4 git commands to generate.