devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 01/12] dt-bindings: gpu: mali-bifrost: Split out MediaTek power-domains variation
@ 2023-02-28 10:26 AngeloGioacchino Del Regno
  2023-02-28 10:26 ` [PATCH v4 02/12] dt-bindings: gpu: mali-bifrost: Set power-domains maxItems to 5 AngeloGioacchino Del Regno
                   ` (12 more replies)
  0 siblings, 13 replies; 28+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-02-28 10:26 UTC (permalink / raw)
  To: airlied
  Cc: daniel, robh+dt, krzysztof.kozlowski+dt, steven.price,
	alyssa.rosenzweig, matthias.bgg, robh, dri-devel, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, wenst,
	AngeloGioacchino Del Regno

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: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 .../devicetree/bindings/gpu/arm,mali-bifrost.yaml        | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
index 78964c140b46..7e110751353e 100644
--- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
+++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
@@ -109,6 +109,9 @@ allOf:
           contains:
             const: amlogic,meson-g12a-mali
     then:
+      properties:
+        power-domains:
+          maxItems: 1
       required:
         - resets
   - if:
@@ -131,6 +134,8 @@ allOf:
             - const: gpu
             - const: bus
             - const: bus_ace
+        power-domains:
+          maxItems: 1
         resets:
           minItems: 3
         reset-names:
@@ -164,8 +169,6 @@ allOf:
         - power-domain-names
     else:
       properties:
-        power-domains:
-          maxItems: 1
         sram-supply: false
   - if:
       properties:
@@ -180,6 +183,8 @@ allOf:
           items:
             - const: gpu
             - const: bus
+        power-domains:
+          maxItems: 1
       required:
         - clock-names
 
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2023-03-08 19:04 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-28 10:26 [PATCH v4 01/12] dt-bindings: gpu: mali-bifrost: Split out MediaTek power-domains variation AngeloGioacchino Del Regno
2023-02-28 10:26 ` [PATCH v4 02/12] dt-bindings: gpu: mali-bifrost: Set power-domains maxItems to 5 AngeloGioacchino Del Regno
2023-03-07 10:27   ` Chen-Yu Tsai
2023-03-08 19:00   ` Rob Herring
2023-02-28 10:26 ` [PATCH v4 03/12] dt-bindings: gpu: mali-bifrost: Fix power-domain-names validation AngeloGioacchino Del Regno
2023-03-07 10:27   ` Chen-Yu Tsai
2023-03-08 19:02   ` Rob Herring
2023-02-28 10:26 ` [PATCH v4 04/12] dt-bindings: gpu: mali-bifrost: Add sub-schema for MT8192's power domains AngeloGioacchino Del Regno
2023-03-07 10:26   ` Chen-Yu Tsai
2023-02-28 10:26 ` [PATCH v4 05/12] dt-bindings: gpu: mali-bifrost: Add new MT8183 compatible AngeloGioacchino Del Regno
2023-03-07 10:26   ` Chen-Yu Tsai
2023-02-28 10:26 ` [PATCH v4 06/12] dt-bindings: gpu: mali-bifrost: Add support for MediaTek MT8186 AngeloGioacchino Del Regno
2023-03-07 10:22   ` Chen-Yu Tsai
2023-03-08 19:03   ` Rob Herring
2023-02-28 10:26 ` [PATCH v4 07/12] dt-bindings: gpu: mali-bifrost: Add compatible for MT8195 SoC AngeloGioacchino Del Regno
2023-03-07  9:55   ` Chen-Yu Tsai
2023-02-28 10:27 ` [PATCH v4 08/12] drm/panfrost: Increase MAX_PM_DOMAINS to 5 AngeloGioacchino Del Regno
2023-03-07  9:53   ` Chen-Yu Tsai
2023-02-28 10:27 ` [PATCH v4 09/12] drm/panfrost: Add the MT8192 GPU ID AngeloGioacchino Del Regno
2023-03-07  9:53   ` Chen-Yu Tsai
2023-02-28 10:27 ` [PATCH v4 10/12] drm/panfrost: Add mediatek,mt8192-mali compatible AngeloGioacchino Del Regno
2023-03-07  9:53   ` Chen-Yu Tsai
2023-02-28 10:27 ` [PATCH v4 11/12] drm/panfrost: Add new compatible for Mali on the MT8183 SoC AngeloGioacchino Del Regno
2023-03-07  9:52   ` Chen-Yu Tsai
2023-02-28 10:27 ` [PATCH v4 12/12] drm/panfrost: Add support for Mali on the MT8186 SoC AngeloGioacchino Del Regno
2023-03-07  9:52   ` Chen-Yu Tsai
2023-03-07 10:28 ` [PATCH v4 01/12] dt-bindings: gpu: mali-bifrost: Split out MediaTek power-domains variation Chen-Yu Tsai
2023-03-08 19:00 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).