From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
To: linux-amlogic@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
adrian.larumbe@collabora.com, steven.price@arm.com,
boris.brezillon@collabora.com, robh@kernel.org,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Subject: [PATCH 1/3] dt-bindings: gpu: mali-bifrost: Add compatible for Amlogic Meson S4
Date: Sat, 10 Jan 2026 21:04:24 +0100 [thread overview]
Message-ID: <20260110200426.1461575-2-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <20260110200426.1461575-1-martin.blumenstingl@googlemail.com>
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@googlemail.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
next prev parent reply other threads:[~2026-01-10 20:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-10 20:04 [PATCH 0/3] Add Mali-G31 GPU to Amlogic Meson-S4 Martin Blumenstingl
2026-01-10 20:04 ` Martin Blumenstingl [this message]
2026-01-12 9:31 ` [PATCH 1/3] dt-bindings: gpu: mali-bifrost: Add compatible for Amlogic Meson S4 Krzysztof Kozlowski
2026-01-12 11:19 ` Martin Blumenstingl
2026-01-10 20:04 ` [PATCH 2/3] drm/panfrost: Add Amlogic Meson S4 integration quirk Martin Blumenstingl
2026-01-14 16:11 ` Steven Price
2026-01-10 20:04 ` [PATCH 3/3] arm64: dts: amlogic: S4: Add the Mali-G31 GPU Martin Blumenstingl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260110200426.1461575-2-martin.blumenstingl@googlemail.com \
--to=martin.blumenstingl@googlemail.com \
--cc=adrian.larumbe@collabora.com \
--cc=boris.brezillon@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=steven.price@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®