summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>2026-01-05 14:44:44 +0300
committerVinod Koul <vkoul@kernel.org>2026-03-09 14:26:30 +0300
commit40dd470a95c0674515ca606757ffe174bd7d3f90 (patch)
treed567860d1e71270244acf7fa3f1bbc1eacba37d9
parentbbb8b402d798f9f211376cee3d649d64dfc17880 (diff)
downloadlinux-40dd470a95c0674515ca606757ffe174bd7d3f90.tar.xz
dt-bindings: dma: renesas,rz-dmac: document RZ/{T2H,N2H}
The Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs have three DMAC instances. Compared to the previously supported RZ/V2H, these SoCs are missing the error interrupt line and the reset lines, and they use a different ICU IP. Document them, and use RZ/T2H as a fallback for RZ/N2H as the DMACs are entirely compatible. Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20260105114445.878262-4-cosmin-gabriel.tanislav.xa@renesas.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/dma/renesas,rz-dmac.yaml100
1 files changed, 82 insertions, 18 deletions
diff --git a/Documentation/devicetree/bindings/dma/renesas,rz-dmac.yaml b/Documentation/devicetree/bindings/dma/renesas,rz-dmac.yaml
index e3311029eb2f..76d30898b761 100644
--- a/Documentation/devicetree/bindings/dma/renesas,rz-dmac.yaml
+++ b/Documentation/devicetree/bindings/dma/renesas,rz-dmac.yaml
@@ -30,6 +30,13 @@ properties:
- const: renesas,r9a09g057-dmac # RZ/V2H(P)
+ - const: renesas,r9a09g077-dmac # RZ/T2H
+
+ - items:
+ - enum:
+ - renesas,r9a09g087-dmac # RZ/N2H
+ - const: renesas,r9a09g077-dmac
+
reg:
items:
- description: Control and channel register block
@@ -37,27 +44,12 @@ properties:
minItems: 1
interrupts:
+ minItems: 16
maxItems: 17
interrupt-names:
- items:
- - const: error
- - const: ch0
- - const: ch1
- - const: ch2
- - const: ch3
- - const: ch4
- - const: ch5
- - const: ch6
- - const: ch7
- - const: ch8
- - const: ch9
- - const: ch10
- - const: ch11
- - const: ch12
- - const: ch13
- - const: ch14
- - const: ch15
+ minItems: 16
+ maxItems: 17
clocks:
items:
@@ -128,6 +120,35 @@ allOf:
compatible:
contains:
enum:
+ - renesas,rz-dmac
+ - renesas,r9a09g057-dmac
+ then:
+ properties:
+ interrupt-names:
+ items:
+ - const: error
+ - const: ch0
+ - const: ch1
+ - const: ch2
+ - const: ch3
+ - const: ch4
+ - const: ch5
+ - const: ch6
+ - const: ch7
+ - const: ch8
+ - const: ch9
+ - const: ch10
+ - const: ch11
+ - const: ch12
+ - const: ch13
+ - const: ch14
+ - const: ch15
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
- renesas,r9a07g043-dmac
- renesas,r9a07g044-dmac
- renesas,r9a07g054-dmac
@@ -190,6 +211,49 @@ allOf:
- renesas,icu
- resets
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: renesas,r9a09g077-dmac
+ then:
+ properties:
+ reg:
+ maxItems: 1
+ clocks:
+ maxItems: 1
+
+ clock-names: false
+ resets: false
+ reset-names: false
+
+ interrupts:
+ maxItems: 16
+
+ interrupt-names:
+ items:
+ - const: ch0
+ - const: ch1
+ - const: ch2
+ - const: ch3
+ - const: ch4
+ - const: ch5
+ - const: ch6
+ - const: ch7
+ - const: ch8
+ - const: ch9
+ - const: ch10
+ - const: ch11
+ - const: ch12
+ - const: ch13
+ - const: ch14
+ - const: ch15
+
+ required:
+ - clocks
+ - power-domains
+ - renesas,icu
+
additionalProperties: false
examples: