diff mbox series

[v2] dt-bindings: dma: arm,pl330: Add missing 'iommus' property

Message ID 20220801210237.1501488-1-robh@kernel.org (mailing list archive)
State Accepted
Commit 249d2e6f597b72769e158bfa0f64051de645ce3d
Headers show
Series [v2] dt-bindings: dma: arm,pl330: Add missing 'iommus' property | expand

Commit Message

Rob Herring (Arm) Aug. 1, 2022, 9:02 p.m. UTC
The pl330 can be behind an IOMMU which is the case for Arm Juno board.
Add the 'iommus' property allowing for 1 IOMMU entry per channel for
writes and 1 IOMMU entry for reads.

Signed-off-by: Rob Herring <robh@kernel.org>
---
v2:
 - Include IOMMU entry for read channel
---
 Documentation/devicetree/bindings/dma/arm,pl330.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Rob Herring (Arm) Sept. 2, 2022, 4:06 p.m. UTC | #1
On Mon, Aug 01, 2022 at 03:02:37PM -0600, Rob Herring wrote:
> The pl330 can be behind an IOMMU which is the case for Arm Juno board.
> Add the 'iommus' property allowing for 1 IOMMU entry per channel for
> writes and 1 IOMMU entry for reads.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> v2:
>  - Include IOMMU entry for read channel
> ---
>  Documentation/devicetree/bindings/dma/arm,pl330.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)

Ping!

> 
> diff --git a/Documentation/devicetree/bindings/dma/arm,pl330.yaml b/Documentation/devicetree/bindings/dma/arm,pl330.yaml
> index 2bec69b308f8..4a3dd6f5309b 100644
> --- a/Documentation/devicetree/bindings/dma/arm,pl330.yaml
> +++ b/Documentation/devicetree/bindings/dma/arm,pl330.yaml
> @@ -55,6 +55,12 @@ properties:
>  
>    dma-coherent: true
>  
> +  iommus:
> +    minItems: 1
> +    maxItems: 9
> +    description: Up to 1 IOMMU entry per DMA channel for writes and 1
> +      IOMMU entry for reads.
> +
>    power-domains:
>      maxItems: 1
>  
> -- 
> 2.34.1
> 
>
Vinod Koul Sept. 4, 2022, 4:11 p.m. UTC | #2
On 01-08-22, 15:02, Rob Herring wrote:
> The pl330 can be behind an IOMMU which is the case for Arm Juno board.
> Add the 'iommus' property allowing for 1 IOMMU entry per channel for
> writes and 1 IOMMU entry for reads.

Applied, thanks
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/dma/arm,pl330.yaml b/Documentation/devicetree/bindings/dma/arm,pl330.yaml
index 2bec69b308f8..4a3dd6f5309b 100644
--- a/Documentation/devicetree/bindings/dma/arm,pl330.yaml
+++ b/Documentation/devicetree/bindings/dma/arm,pl330.yaml
@@ -55,6 +55,12 @@  properties:
 
   dma-coherent: true
 
+  iommus:
+    minItems: 1
+    maxItems: 9
+    description: Up to 1 IOMMU entry per DMA channel for writes and 1
+      IOMMU entry for reads.
+
   power-domains:
     maxItems: 1