linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND 1/3] spi: tegra210-quad: Add iommus property to DT bindings
@ 2025-05-06 15:23 Vishwaroop A
  2025-05-06 15:23 ` [PATCH RESEND 2/3] arm64: tegra: Configure QSPI clocks and add DMA Vishwaroop A
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vishwaroop A @ 2025-05-06 15:23 UTC (permalink / raw)
  To: broonie, robh, krzk+dt, conor+dt, thierry.reding, jonathanh,
	skomatineni, ldewangan, kyarlagadda, smangipudi, linux-spi,
	devicetree, linux-tegra, linux-kernel
  Cc: va

The Tegra210 Quad SPI controller uses internal DMA engines to
efficiently transfer data between system memory and the SPI bus.
On platforms with an IOMMU, such as Tegra234, DMA transactions
must be properly mapped and protected to ensure system security
and functional correctness.

This patch adds the iommus property to the device tree binding.
This property is required to associate the SPI controller with
the system IOMMU, specifying the correct stream ID for address
translation and access protection.

Signed-off-by: Vishwaroop A <va@nvidia.com>
---
 .../devicetree/bindings/spi/nvidia,tegra210-quad.yaml          | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml
index 48e97e240265..522efbe62010 100644
--- a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml
+++ b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml
@@ -47,6 +47,9 @@ properties:
       - const: rx
       - const: tx
 
+  iommus:
+    maxItems: 1
+
 patternProperties:
   "@[0-9a-f]+$":
     type: object
-- 
2.17.1


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

end of thread, other threads:[~2025-05-08 20:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06 15:23 [PATCH RESEND 1/3] spi: tegra210-quad: Add iommus property to DT bindings Vishwaroop A
2025-05-06 15:23 ` [PATCH RESEND 2/3] arm64: tegra: Configure QSPI clocks and add DMA Vishwaroop A
2025-05-08 20:27   ` Thierry Reding
2025-05-06 15:23 ` [PATCH RESEND 3/3] spi: tegra210-quad: Add support for internal DMA Vishwaroop A
2025-05-06 15:54 ` [PATCH RESEND 1/3] spi: tegra210-quad: Add iommus property to DT bindings Krzysztof Kozlowski

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).