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

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.comSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent e4fa9ded
...@@ -19,6 +19,7 @@ properties: ...@@ -19,6 +19,7 @@ properties:
- amlogic,meson-g12a-mali - amlogic,meson-g12a-mali
- mediatek,mt8183-mali - mediatek,mt8183-mali
- realtek,rtd1619-mali - realtek,rtd1619-mali
- renesas,r9a07g044-mali
- rockchip,px30-mali - rockchip,px30-mali
- rockchip,rk3568-mali - rockchip,rk3568-mali
- const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
...@@ -27,19 +28,26 @@ properties: ...@@ -27,19 +28,26 @@ properties:
maxItems: 1 maxItems: 1
interrupts: interrupts:
minItems: 3
items: items:
- description: Job interrupt - description: Job interrupt
- description: MMU interrupt - description: MMU interrupt
- description: GPU interrupt - description: GPU interrupt
- description: Event interrupt
interrupt-names: interrupt-names:
minItems: 3
items: items:
- const: job - const: job
- const: mmu - const: mmu
- const: gpu - const: gpu
- const: event
clocks: clocks:
maxItems: 1 minItems: 1
maxItems: 3
clock-names: true
mali-supply: true mali-supply: true
...@@ -52,7 +60,10 @@ properties: ...@@ -52,7 +60,10 @@ properties:
maxItems: 3 maxItems: 3
resets: resets:
maxItems: 2 minItems: 1
maxItems: 3
reset-names: true
"#cooling-cells": "#cooling-cells":
const: 2 const: 2
...@@ -94,6 +105,36 @@ allOf: ...@@ -94,6 +105,36 @@ allOf:
then: then:
required: required:
- resets - 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: - if:
properties: properties:
compatible: compatible:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment