[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260110200426.1461575-2-martin.blumenstingl@googlemail.com>
Date: Sat, 10 Jan 2026 21:04:24 +0100
From: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
To: linux-amlogic@...ts.infradead.org
Cc: linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
adrian.larumbe@...labora.com,
steven.price@....com,
boris.brezillon@...labora.com,
robh@...nel.org,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Subject: [PATCH 1/3] dt-bindings: gpu: mali-bifrost: Add compatible for Amlogic Meson S4
Add a compatible string for the Mali-G31 GPU in the Amlogic Meson S4
SoC. It has two clock inputs (GPU clock and a bus clock) as well as two
resets (main GPU reset line and a GPU ABP reset line).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
---
.../bindings/gpu/arm,mali-bifrost.yaml | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
index db49b8ff8c74..85fae7753004 100644
--- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
+++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
@@ -19,6 +19,7 @@ properties:
- enum:
- allwinner,sun50i-h616-mali
- amlogic,meson-g12a-mali
+ - amlogic,meson-s4-mali
- mediatek,mt8183-mali
- mediatek,mt8183b-mali
- mediatek,mt8186-mali
@@ -143,6 +144,25 @@ allOf:
power-domain-names: false
required:
- resets
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: amlogic,meson-s4-mali
+ then:
+ properties:
+ power-domains:
+ maxItems: 1
+ power-domain-names: false
+ clocks:
+ minItems: 2
+ clock-names:
+ items:
+ - const: gpu
+ - const: bus
+ required:
+ - resets
+ - clock-names
- if:
properties:
compatible:
--
2.52.0
Powered by blists - more mailing lists