Skip to contentSkip to conversation

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

PATCH Applied Rob Herring 2 participants 3 messages Aug 1, 2022 – Sep 4, 2022

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: dma: arm,pl330: Add missing 'iommus' property

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.

---
v2:
- Include IOMMU entry for read channel

---
 Documentation/devicetree/bindings/dma/arm,pl330.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/dma/arm,pl330.yaml +6 -0
index 2bec69b308f8..4a3dd6f5309b 100644
@@ -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
 
Signature · 1 line
2.34.1
author maintainer
#1 lore raw
Quoted 11 lines · Rob Herring

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.

---
v2:
- Include IOMMU entry for read channel

---
 Documentation/devicetree/bindings/dma/arm,pl330.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

Ping!

Quoted 22 lines
Documentation/devicetree/bindings/dma/arm,pl330.yaml +6 -0
index 2bec69b308f8..4a3dd6f5309b 100644
@@ -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
 
Signature · 1 line
2.34.1
maintainer Applied
#2 lore raw
In reply to Rob Herring
Quoted 3 lines · Rob Herring

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

Signature · 1 line
~Vinod