From: Baihui Liang <liangbaihui@linux.spacemit.com>
To: Alessio Belle <alessio.belle@imgtec.com>,
Luigi Santivetti <luigi.santivetti@imgtec.com>,
David Airlie <airlied@gmail.com>,
Simona Vetter <simona@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Yixun Lan <dlan@kernel.org>
Cc: imagination@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org,
spacemit@lists.linux.dev,
Baihui Liang <liangbaihui@linux.spacemit.com>
Subject: [PATCH] dt-bindings: gpu: img,powervr-rogue: add spacemit,k1-gpu and spacemit,k3-gpu
Date: Thu, 15 Oct 2026 15:00:48 +0800 [thread overview]
Message-ID: <20261015-spacemit-gpu-binding-v1-1-a7a23c7e7788@linux.spacemit.com> (raw)
Add compatible strings for the IMG GPUs in SpacemiT K1 and K3 SoCs:
- K1: IMG BXE-2-32 (adds a dedicated entry for a single core
clock and power domain).
- K3: IMG BXM-4-64 (shares the same configuration and entry as
the T-Head TH1520).
Both SoCs require a single power domain provided by the APMU driver
(currently pending mainline):
Link: https://lore.kernel.org/all/20261008-04-k3-pm-support-v2-0-6f778a53dd2d@kernel.org/
Signed-off-by: Baihui Liang <liangbaihui@linux.spacemit.com>
---
.../devicetree/bindings/gpu/img,powervr-rogue.yaml | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
index e9218e0f363..600445cd506 100644
--- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
+++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
@@ -37,6 +37,12 @@ properties:
- const: img,img-rogue
- items:
- enum:
+ - spacemit,k1-gpu
+ - const: img,img-bxe-2-32
+ - const: img,img-rogue
+ - items:
+ - enum:
+ - spacemit,k3-gpu
- thead,th1520-gpu
- const: img,img-bxm-4-64
- const: img,img-rogue
@@ -102,6 +108,8 @@ allOf:
compatible:
contains:
enum:
+ - spacemit,k1-gpu
+ - spacemit,k3-gpu
- ti,am62-gpu
- ti,am62p-gpu
- ti,j721s2-gpu
@@ -162,13 +170,16 @@ allOf:
properties:
compatible:
contains:
- const: thead,th1520-gpu
+ enum:
+ - spacemit,k1-gpu
+ - spacemit,k3-gpu
+ - thead,th1520-gpu
then:
properties:
power-domains:
items:
- - description: The single, unified power domain for the GPU on the
- TH1520 SoC, integrating all internal IP power domains.
+ - description: The single, unified power domain for the GPU,
+ integrating all internal IP power domains.
power-domain-names: false
required:
- power-domains
---
base-commit: 0fcb05b72344f40806cbe810de8872f1698bf053
change-id: 20261010-spacemit-gpu-binding-edae594ad6bf
Best regards,
--
Baihui Liang <liangbaihui@linux.spacemit.com>
next reply other threads:[~2026-10-15 7:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 7:00 Baihui Liang [this message]
2026-10-15 10:47 ` Krzysztof Kozlowski
2026-10-15 13:53 ` Rob Herring (Arm)
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=20261015-spacemit-gpu-binding-v1-1-a7a23c7e7788@linux.spacemit.com \
--to=liangbaihui@linux.spacemit.com \
--cc=airlied@gmail.com \
--cc=alessio.belle@imgtec.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=imagination@lists.freedesktop.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=luigi.santivetti@imgtec.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=spacemit@lists.linux.dev \
--cc=tzimmermann@suse.de \
/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®