From: Thierry Reding Date: Thu, 3 Jun 2021 16:46:31 +0000 (+0200) Subject: arm64: tegra: Hook up memory controller to SMMU on Tegra186 X-Git-Tag: accepted/tizen/unified/20230118.172025~6703^2~10^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b966d2db05a70263ddffc795eb544b94427fc327;p=platform%2Fkernel%2Flinux-rpi.git arm64: tegra: Hook up memory controller to SMMU on Tegra186 On Tegra186 and later, the memory controller needs to be programmed in coordination with any of the ARM SMMU instances to configure the stream ID used for each memory client. To support this, add a phandle reference to the memory controller to the SMMU device tree node. Signed-off-by: Thierry Reding --- diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi index a173f40..d02f6bf 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi @@ -1152,6 +1152,8 @@ stream-match-mask = <0x7f80>; #global-interrupts = <1>; #iommu-cells = <1>; + + nvidia,memory-controller = <&mc>; }; host1x@13e00000 {