Commit e82b8453 authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno Committed by Boris Brezillon

dt-bindings: gpu: mali-bifrost: Split out MediaTek power-domains variation

In preparation for adding new bindings for new MediaTek SoCs, split out
the power-domains variation from the `else` in the current
mediatek,mt8183-mali conditional.

The sram-supply part is left in place to be disallowed for anything
that is not compatible with "mediatek,mt8183-mali" as this regulator
is MediaTek-specific and it is, and will ever be, used only for this
specific string due to the addition of the mediatek-regulator-coupler
driver.
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: default avatarChen-Yu Tsai <wenst@chromium.org>
Tested-by: default avatarChen-Yu Tsai <wenst@chromium.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230316102041.210269-2-angelogioacchino.delregno@collabora.com
parent 4ab9157c
...@@ -109,6 +109,9 @@ allOf: ...@@ -109,6 +109,9 @@ allOf:
contains: contains:
const: amlogic,meson-g12a-mali const: amlogic,meson-g12a-mali
then: then:
properties:
power-domains:
maxItems: 1
required: required:
- resets - resets
- if: - if:
...@@ -131,6 +134,8 @@ allOf: ...@@ -131,6 +134,8 @@ allOf:
- const: gpu - const: gpu
- const: bus - const: bus
- const: bus_ace - const: bus_ace
power-domains:
maxItems: 1
resets: resets:
minItems: 3 minItems: 3
reset-names: reset-names:
...@@ -164,8 +169,6 @@ allOf: ...@@ -164,8 +169,6 @@ allOf:
- power-domain-names - power-domain-names
else: else:
properties: properties:
power-domains:
maxItems: 1
sram-supply: false sram-supply: false
- if: - if:
properties: properties:
...@@ -180,6 +183,8 @@ allOf: ...@@ -180,6 +183,8 @@ allOf:
items: items:
- const: gpu - const: gpu
- const: bus - const: bus
power-domains:
maxItems: 1
required: required:
- clock-names - clock-names
......
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