Commit 72ec393b authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Vinod Koul
Browse files

dt-bindings: renesas,rcar-dmac: Add r8a779a0 support



Document the compatible value for the Direct Memory Access Controller
blocks in the Renesas R-Car V3U (R8A779A0) SoC.

The most visible difference with DMAC blocks on other R-Car SoCs is the
move of the per-channel registers to a separate register block.

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Tested-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20210128084455.2237256-2-geert+renesas@glider.be


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent c281cde7
Loading
Loading
Loading
Loading
+48 −28
Original line number Diff line number Diff line
@@ -14,7 +14,8 @@ allOf:

properties:
  compatible:
    items:
    oneOf:
      - items:
          - enum:
              - renesas,dmac-r8a7742  # RZ/G1H
              - renesas,dmac-r8a7743  # RZ/G1M
@@ -40,8 +41,10 @@ properties:
              - renesas,dmac-r8a77995 # R-Car D3
          - const: renesas,rcar-dmac

  reg:
    maxItems: 1
      - items:
          - const: renesas,dmac-r8a779a0 # R-Car V3U

  reg: true

  interrupts:
    minItems: 9
@@ -110,6 +113,23 @@ required:
  - power-domains
  - resets

if:
  properties:
    compatible:
      contains:
        enum:
          - renesas,dmac-r8a779a0
then:
  properties:
    reg:
      items:
        - description: Base register block
        - description: Channel register block
else:
  properties:
    reg:
      maxItems: 1

additionalProperties: false

examples: