Re: [PATCH] dt-bindings: dma: fsl-edma: add optional iommus property
From: Frank Li
Date: Thu May 21 2026 - 13:18:38 EST
On Thu, May 21, 2026 at 12:05:04PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@xxxxxxx>
>
> 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@xxxxxxx>
> ---
> 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@xxxxxxx>
>