[PATCH] dt-bindings: dma: fsl-edma: add optional iommus property

Peng Fan (OSS) posted 1 patch 3 days, 16 hours ago
Documentation/devicetree/bindings/dma/fsl,edma.yaml | 5 +++++
1 file changed, 5 insertions(+)
[PATCH] dt-bindings: dma: fsl-edma: add optional iommus property
Posted by Peng Fan (OSS) 3 days, 16 hours ago
From: Peng Fan <peng.fan@nxp.com>

Add iommus property with each channel could use one IOMMU entry. i.MX95
supports max 64 channels, so set [minItems,maxItems] to [1,64].

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 Documentation/devicetree/bindings/dma/fsl,edma.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/dma/fsl,edma.yaml b/Documentation/devicetree/bindings/dma/fsl,edma.yaml
index fa4248e2f1b9cecd00f1535744bfe6d9ecdba613..bb8de804da53fdc47703f722f18453853742209d 100644
--- a/Documentation/devicetree/bindings/dma/fsl,edma.yaml
+++ b/Documentation/devicetree/bindings/dma/fsl,edma.yaml
@@ -54,6 +54,11 @@ properties:
     minItems: 1
     maxItems: 65
 
+  iommus:
+    minItems: 1
+    maxItems: 64
+    description: Up to 1 IOMMU entry per DMA channel.
+
   "#dma-cells":
     description: |
       Specifies the number of cells needed to encode an DMA channel.

---
base-commit: 687da68900cd1a46549f7d9430c7d40346cb86a0
change-id: 20260521-edma-iommu-c025e1d28eba

Best regards,
-- 
Peng Fan <peng.fan@nxp.com>
Re: [PATCH] dt-bindings: dma: fsl-edma: add optional iommus property
Posted by Frank Li 3 days, 3 hours ago
On Thu, May 21, 2026 at 12:05:04PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Add iommus property with each channel could use one IOMMU entry. i.MX95
> supports max 64 channels, so set [minItems,maxItems] to [1,64].
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  Documentation/devicetree/bindings/dma/fsl,edma.yaml | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/dma/fsl,edma.yaml b/Documentation/devicetree/bindings/dma/fsl,edma.yaml
> index fa4248e2f1b9cecd00f1535744bfe6d9ecdba613..bb8de804da53fdc47703f722f18453853742209d 100644
> --- a/Documentation/devicetree/bindings/dma/fsl,edma.yaml
> +++ b/Documentation/devicetree/bindings/dma/fsl,edma.yaml
> @@ -54,6 +54,11 @@ properties:
>      minItems: 1
>      maxItems: 65
>
> +  iommus:
> +    minItems: 1
> +    maxItems: 64
> +    description: Up to 1 IOMMU entry per DMA channel.
> +

If difference channel use difference's iommus, should it use iommu-map?

iommus here suppose all channel share 1 IOMMU entry.

Frank

>    "#dma-cells":
>      description: |
>        Specifies the number of cells needed to encode an DMA channel.
>
> ---
> base-commit: 687da68900cd1a46549f7d9430c7d40346cb86a0
> change-id: 20260521-edma-iommu-c025e1d28eba
>
> Best regards,
> --
> Peng Fan <peng.fan@nxp.com>
>