devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: tegra: Enable IOMMU for host1x on Tegra132
@ 2023-08-10 21:45 Rayyan Ansari
  2023-08-16 16:24 ` Thierry Reding
  2023-08-16 16:24 ` Thierry Reding
  0 siblings, 2 replies; 5+ messages in thread
From: Rayyan Ansari @ 2023-08-10 21:45 UTC (permalink / raw)
  To: linux-tegra
  Cc: Rayyan Ansari, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Thierry Reding, Jonathan Hunter, devicetree, linux-kernel

Add the iommu property to the host1x node to register it with its
swgroup.

Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
---
 arch/arm64/boot/dts/nvidia/tegra132.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra132.dtsi b/arch/arm64/boot/dts/nvidia/tegra132.dtsi
index 8b78be8f4f9d..7e24a212c7e4 100644
--- a/arch/arm64/boot/dts/nvidia/tegra132.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra132.dtsi
@@ -93,6 +93,8 @@ host1x@50000000 {
 		resets = <&tegra_car 28>;
 		reset-names = "host1x";
 
+		iommus = <&mc TEGRA_SWGROUP_HC>;
+
 		#address-cells = <2>;
 		#size-cells = <2>;
 
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-16 20:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-10 21:45 [PATCH] arm64: tegra: Enable IOMMU for host1x on Tegra132 Rayyan Ansari
2023-08-16 16:24 ` Thierry Reding
2023-08-16 19:56   ` Rayyan Ansari
2023-08-16 20:09     ` Rayyan Ansari
2023-08-16 16:24 ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).