]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm64: tegra: Enable IOMMU for host1x on Tegra210
authorMikko Perttunen <mperttunen@nvidia.com>
Wed, 14 Dec 2016 11:16:17 +0000 (13:16 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 20 Mar 2017 18:48:37 +0000 (19:48 +0100)
The host1x driver now supports operation behind an IOMMU, so add its
IOMMU domain to the device tree.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210.dtsi

index 217e5a14745cd6f9b1c847bca2dfbd0af96ae914..8f26c4d4409aad7d1a880cfbef78d1e5946f7763 100644 (file)
@@ -89,6 +89,8 @@
 
                ranges = <0x0 0x54000000 0x0 0x54000000 0x0 0x01000000>;
 
+               iommus = <&mc TEGRA_SWGROUP_HC>;
+
                dpaux1: dpaux@54040000 {
                        compatible = "nvidia,tegra210-dpaux";
                        reg = <0x0 0x54040000 0x0 0x00040000>;