Skip to contentSkip to conversation

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

PATCH Superseded Rob Herring 1 participant 2 messages Jul 28, 2022

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 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 per channel.

---
 Documentation/devicetree/bindings/dma/arm,pl330.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/dma/arm,pl330.yaml +5 -0
index 2bec69b308f8..b9c4bee178ae 100644
@@ -55,6 +55,11 @@ properties:
 
   dma-coherent: true
 
+  iommus:
+    minItems: 1
+    maxItems: 8
+    description: Up to 1 IOMMU per DMA channel
+
   power-domains:
     maxItems: 1
 
Signature · 1 line
2.34.1
author maintainer
#1 lore raw
Quoted 14 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 per channel.

---
 Documentation/devicetree/bindings/dma/arm,pl330.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/dma/arm,pl330.yaml +0 -0
index 2bec69b308f8..b9c4bee178ae 100644

Documentation/devicetree/bindings/dma/arm,pl330.yaml properties: · line 60

Quoted 6 lines
Documentation/devicetree/bindings/dma/arm,pl330.yaml +3 -0
@@ -55,6 +55,11 @@ properties:
 
   dma-coherent: true
 
+  iommus:
+    minItems: 1
+    maxItems: 8

Off by 1. Juno has 9 entries. I think it's 8 entries for write the read side has 1 entry. The TRM isn't too clear.

Rob

Quoted 8 lines
Documentation/devicetree/bindings/dma/arm,pl330.yaml +2 -1
+    description: Up to 1 IOMMU per DMA channel
+
   power-domains:
     maxItems: 1
 
--

2.34.1