Message ID | 20241007110200.43166-7-wsa+renesas@sang-engineering.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 209efec19c4c0cea17ff01d67c8fbd75a90fb854 |
Headers | show |
Series | dmaengine: sh: rz-dmac: add r7s72100 support | expand |
On Mon, Oct 7, 2024 at 1:02 PM Wolfram Sang <wsa+renesas@sang-engineering.com> wrote: > Document the Renesas RZ/A1H DMAC block. This one does not have clocks, > resets and power domains. Update the bindings accordingly. Introduce a > generic name in the header to make future additions easier. > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert
On Mon, 07 Oct 2024 13:02:02 +0200, Wolfram Sang wrote: > Document the Renesas RZ/A1H DMAC block. This one does not have clocks, > resets and power domains. Update the bindings accordingly. Introduce a > generic name in the header to make future additions easier. > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> > --- > .../bindings/dma/renesas,rz-dmac.yaml | 29 +++++++++++++------ > 1 file changed, 20 insertions(+), 9 deletions(-) > Acked-by: Rob Herring (Arm) <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/dma/renesas,rz-dmac.yaml b/Documentation/devicetree/bindings/dma/renesas,rz-dmac.yaml index ca24cf48769f..b356251de5a8 100644 --- a/Documentation/devicetree/bindings/dma/renesas,rz-dmac.yaml +++ b/Documentation/devicetree/bindings/dma/renesas,rz-dmac.yaml @@ -4,18 +4,16 @@ $id: http://devicetree.org/schemas/dma/renesas,rz-dmac.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Renesas RZ/{G2L,G2UL,V2L} DMA Controller +title: Renesas RZ DMA Controller maintainers: - Biju Das <biju.das.jz@bp.renesas.com> -allOf: - - $ref: dma-controller.yaml# - properties: compatible: items: - enum: + - renesas,r7s72100-dmac # RZ/A1H - renesas,r9a07g043-dmac # RZ/G2UL and RZ/Five - renesas,r9a07g044-dmac # RZ/G2{L,LC} - renesas,r9a07g054-dmac # RZ/V2L @@ -93,13 +91,26 @@ required: - reg - interrupts - interrupt-names - - clocks - - clock-names - '#dma-cells' - dma-channels - - power-domains - - resets - - reset-names + +allOf: + - $ref: dma-controller.yaml# + + - if: + not: + properties: + compatible: + contains: + enum: + - renesas,r7s72100-dmac + then: + required: + - clocks + - clock-names + - power-domains + - resets + - reset-names additionalProperties: false
Document the Renesas RZ/A1H DMAC block. This one does not have clocks, resets and power domains. Update the bindings accordingly. Introduce a generic name in the header to make future additions easier. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> --- .../bindings/dma/renesas,rz-dmac.yaml | 29 +++++++++++++------ 1 file changed, 20 insertions(+), 9 deletions(-)