|
|
b7ab407 |
From patchwork Sun Jul 9 16:36:14 2017
|
|
|
b7ab407 |
Content-Type: text/plain; charset="utf-8"
|
|
|
b7ab407 |
MIME-Version: 1.0
|
|
|
b7ab407 |
Content-Transfer-Encoding: 7bit
|
|
|
b7ab407 |
Subject: ARM: tegra: Register host1x node with iommu binding on tegra124
|
|
|
b7ab407 |
From: Paul Kocialkowski <contact@paulk.fr>
|
|
|
b7ab407 |
X-Patchwork-Id: 9831825
|
|
|
b7ab407 |
Message-Id: <20170709163614.6746-1-contact@paulk.fr>
|
|
|
b7ab407 |
To: linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org,
|
|
|
b7ab407 |
linux-kernel@vger.kernel.org
|
|
|
b7ab407 |
Cc: Thierry Reding <thierry.reding@gmail.com>,
|
|
|
b7ab407 |
Stephen Warren <swarren@wwwdotorg.org>,
|
|
|
b7ab407 |
Mikko Perttunen <mperttunen@nvidia.com>,
|
|
|
b7ab407 |
Paul Kocialkowski <contact@paulk.fr>,
|
|
|
b7ab407 |
Jonathan Hunter <jonathanh@nvidia.com>
|
|
|
b7ab407 |
Date: Sun, 9 Jul 2017 19:36:14 +0300
|
|
|
b7ab407 |
|
|
|
b7ab407 |
This registers the host1x node with the SMMU (as HC swgroup) to allow
|
|
|
b7ab407 |
the host1x code to attach to it. It avoid failing the probe sequence,
|
|
|
b7ab407 |
which resulted in the tegra drm driver not probing and thus nothing
|
|
|
b7ab407 |
being displayed on-screen.
|
|
|
b7ab407 |
|
|
|
b7ab407 |
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|
|
b7ab407 |
---
|
|
|
b7ab407 |
arch/arm/boot/dts/tegra124.dtsi | 1 +
|
|
|
b7ab407 |
1 file changed, 1 insertion(+)
|
|
|
b7ab407 |
|
|
|
b7ab407 |
diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi
|
|
|
b7ab407 |
index 187a36c6d0fc..b3b89befffeb 100644
|
|
|
b7ab407 |
--- a/arch/arm/boot/dts/tegra124.dtsi
|
|
|
b7ab407 |
+++ b/arch/arm/boot/dts/tegra124.dtsi
|
|
|
b7ab407 |
@@ -85,6 +85,7 @@
|
|
|
b7ab407 |
clocks = <&tegra_car TEGRA124_CLK_HOST1X>;
|
|
|
b7ab407 |
resets = <&tegra_car 28>;
|
|
|
b7ab407 |
reset-names = "host1x";
|
|
|
b7ab407 |
+ iommus = <&mc TEGRA_SWGROUP_HC>;
|
|
|
b7ab407 |
|
|
|
b7ab407 |
#address-cells = <2>;
|
|
|
b7ab407 |
#size-cells = <2>;
|