Skip to contentSkip to conversation

dt-bindings: gpu: img,powervr-rogue: add spacemit,k1-gpu and spacemit,k3-gpu

PATCH Applied Baihui Liang 4 participants 4 messages Oct 15 – Nov 1

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: gpu: img,powervr-rogue: add spacemit,k1-gpu and spacemit,k3-gpu

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):

---
 .../devicetree/bindings/gpu/img,powervr-rogue.yaml      | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml +14 -3
index e9218e0f363..600445cd506 100644
@@ -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,

Signature · 1 line
Baihui Liang <[email protected]>
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Baihui Liang

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):

That's not relevant here, drop paragraph.

Quoted 5 lines
---
 .../devicetree/bindings/gpu/img,powervr-rogue.yaml      | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

Best regards,
Krzysztof

maintainer Applied
#2 lore raw
In reply to Baihui Liang
Quoted 6 lines · Baihui Liang

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).

Quoted 9 lines

Both SoCs require a single power domain provided by the APMU driver (currently pending mainline):

---
 .../devicetree/bindings/gpu/img,powervr-rogue.yaml      | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

Applied, thanks!

#3 lore raw
In reply to Baihui Liang
This patch was applied to riscv/linux.git (fixes) by Rob Herring (Arm) <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (fixes)
by Rob Herring (Arm) <[email protected]>:

Quoted 11 lines · On Thu, 15 Oct 2026 15:00:48 +0800 you wrote:

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):

[...]

Here is the summary with links:
- dt-bindings: gpu: img,powervr-rogue: add spacemit,k1-gpu and spacemit,k3-gpu

    https://git.kernel.org/riscv/c/16f30811a935

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html