diff options
author | AngeloGioacchino Del Regno | 2023-03-16 11:20:35 +0100 |
---|---|---|
committer | Boris Brezillon | 2023-03-23 10:43:15 +0100 |
commit | 0b2cf514029986f741c4c4b80b28e402361dac70 (patch) | |
tree | 0043627070fb3e30c628020269692aa414358d4a | |
parent | 1f03cb1b0c5558f3523b4003550fc89fe4dc5c6e (diff) |
dt-bindings: gpu: mali-bifrost: Add support for MediaTek MT8186
MT8186 has a Mali-G52 MC2 2EE GPU (two cores): add a binding with
two power domains (one per core) for it.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230316102041.210269-7-angelogioacchino.delregno@collabora.com
-rw-r--r-- | Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index 63b993d5fd87..3d0d96913b1b 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml @@ -20,6 +20,7 @@ properties: - amlogic,meson-g12a-mali - mediatek,mt8183-mali - mediatek,mt8183b-mali + - mediatek,mt8186-mali - realtek,rtd1619-mali - renesas,r9a07g044-mali - renesas,r9a07g054-mali @@ -200,6 +201,23 @@ allOf: properties: compatible: contains: + const: mediatek,mt8186-mali + then: + properties: + power-domains: + minItems: 2 + maxItems: 2 + power-domain-names: + items: + - const: core0 + - const: core1 + required: + - power-domains + - power-domain-names + - if: + properties: + compatible: + contains: const: mediatek,mt8192-mali then: properties: |