Commit 570df0a5 authored by Biju Das's avatar Biju Das Committed by Rob Herring
Browse files

dt-bindings: gpu: mali-bifrost: Document RZ/G2L support



The Renesas RZ/G2{L, LC} SoC (a.k.a R9A07G044) has a Bifrost Mali-G31 GPU,
add a compatible string for it.

Signed-off-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: default avatarLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: default avatarSteven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20211208104026.421-2-biju.das.jz@bp.renesas.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent e4fa9ded
Loading
Loading
Loading
Loading
+43 −2
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ properties:
          - amlogic,meson-g12a-mali
          - mediatek,mt8183-mali
          - realtek,rtd1619-mali
          - renesas,r9a07g044-mali
          - rockchip,px30-mali
          - rockchip,rk3568-mali
      - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
@@ -27,19 +28,26 @@ properties:
    maxItems: 1

  interrupts:
    minItems: 3
    items:
      - description: Job interrupt
      - description: MMU interrupt
      - description: GPU interrupt
      - description: Event interrupt

  interrupt-names:
    minItems: 3
    items:
      - const: job
      - const: mmu
      - const: gpu
      - const: event

  clocks:
    maxItems: 1
    minItems: 1
    maxItems: 3

  clock-names: true

  mali-supply: true

@@ -52,7 +60,10 @@ properties:
    maxItems: 3

  resets:
    maxItems: 2
    minItems: 1
    maxItems: 3

  reset-names: true

  "#cooling-cells":
    const: 2
@@ -94,6 +105,36 @@ allOf:
    then:
      required:
        - resets
  - if:
      properties:
        compatible:
          contains:
            const: renesas,r9a07g044-mali
    then:
      properties:
        interrupts:
          minItems: 4
        interrupt-names:
          minItems: 4
        clocks:
          minItems: 3
        clock-names:
          items:
            - const: gpu
            - const: bus
            - const: bus_ace
        resets:
          minItems: 3
        reset-names:
          items:
            - const: rst
            - const: axi_rst
            - const: ace_rst
      required:
        - clock-names
        - power-domains
        - resets
        - reset-names
  - if:
      properties:
        compatible: