]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: dma: nvidia,tegra186-gpc-dma: Add iommu-map property
authorAkhil R <akhilrajeev@nvidia.com>
Tue, 31 Mar 2026 10:22:56 +0000 (15:52 +0530)
committerVinod Koul <vkoul@kernel.org>
Thu, 4 Jun 2026 06:51:19 +0000 (12:21 +0530)
commitd6d7ffb994c676e6414a725d7eb8f208d901b63a
treeb03d4640719287d9965c4b9d08d460978c7dfebc
parentcc6049bd3fa8501ee27042df469a19ed69cf406d
dt-bindings: dma: nvidia,tegra186-gpc-dma: Add iommu-map property

Add iommu-map property to specify separate stream IDs for each DMA
channel. This enables each channel to be in its own IOMMU domain,
keeping memory isolated from other devices sharing the same DMA
controller.

Define the constraints such that if the channel and stream IDs are
contiguous, a single entry can map all the channels, but if the
channels or stream IDs are non-contiguous support multiple entries.

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20260331102303.33181-4-akhilrajeev@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/dma/nvidia,tegra186-gpc-dma.yaml