Linux SPI subsystem development
 help / color / mirror / Atom feed
* [PATCH 1/3] spi: tegra210-quad: Add iommus property to DT bindings
@ 2025-05-06 12:22 Vishwaroop A
  2025-05-06 12:22 ` [PATCH 2/3] arm64: tegra: Configure QSPI clocks and add DMA Vishwaroop A
  2025-05-06 12:22 ` [PATCH 3/3] spi: tegra210-quad: Add support for internal DMA Vishwaroop A
  0 siblings, 2 replies; 3+ messages in thread
From: Vishwaroop A @ 2025-05-06 12:22 UTC (permalink / raw)
  To: thierry.reding, jonathanh, skomatineni, ldewangan, broonie,
	linux-spi, linux-tegra, linux-kernel, kyarlagadda, smangipudi
  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] 3+ messages in thread

end of thread, other threads:[~2025-05-06 12:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06 12:22 [PATCH 1/3] spi: tegra210-quad: Add iommus property to DT bindings Vishwaroop A
2025-05-06 12:22 ` [PATCH 2/3] arm64: tegra: Configure QSPI clocks and add DMA Vishwaroop A
2025-05-06 12:22 ` [PATCH 3/3] spi: tegra210-quad: Add support for internal DMA Vishwaroop A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox