From: Cunyuan Liu <cunyuan.liu@cixtech.com>
To: boris.brezillon@collabora.com, steven.price@arm.com,
liviu.dudau@arm.com, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, gary.yang@cixtech.com,
fugang.duan@cixtech.com
Cc: daniel.almeida@collabora.com, aliceryhl@google.com,
p.zabel@pengutronix.de, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org,
cix-kernel-upstream@cixtech.com, robin.wang@cixtech.com,
cunyuan.liu@cixtech.com
Subject: [PATCH 1/3] dt-bindings: gpu: Add CIX Sky1 Mali support
Date: Fri, 6 Nov 2026 18:47:33 +0800 [thread overview]
Message-ID: <20261106104735.1651267-2-cunyuan.liu@cixtech.com> (raw)
In-Reply-To: <20261106104735.1651267-1-cunyuan.liu@cixtech.com>
Describe the Mali CSF GPU on CIX Sky1. It uses core and stacks clocks,
an external reset and a GPU power domain.
Add the compatible string, resource requirements and an example.
Signed-off-by: Cunyuan Liu <cunyuan.liu@cixtech.com>
---
.../bindings/gpu/arm,mali-valhall-csf.yaml | 51 +++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-valhall-csf.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-valhall-csf.yaml
index 8eccd4338a2b..a93acc6d91ec 100644
--- a/Documentation/devicetree/bindings/gpu/arm,mali-valhall-csf.yaml
+++ b/Documentation/devicetree/bindings/gpu/arm,mali-valhall-csf.yaml
@@ -18,6 +18,7 @@ properties:
oneOf:
- items:
- enum:
+ - cix,sky1-mali
- mediatek,mt8196-mali
- nxp,imx95-mali # G310
- rockchip,rk3588-mali
@@ -51,6 +52,9 @@ properties:
- stacks
- const: stacks
+ resets:
+ maxItems: 1
+
nvmem-cells:
items:
- description: bitmask of functional shader cores
@@ -146,6 +150,34 @@ allOf:
- nvmem-cells
- nvmem-cell-names
- power-domains
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: cix,sky1-mali
+ then:
+ properties:
+ clocks:
+ minItems: 2
+ maxItems: 2
+ clock-names:
+ items:
+ - const: core
+ - const: stacks
+ power-domains:
+ maxItems: 1
+ power-domain-names: false
+ mali-supply: false
+ sram-supply: false
+ nvmem-cells: false
+ nvmem-cell-names: false
+ required:
+ - clock-names
+ - resets
+ - power-domains
+ else:
+ properties:
+ resets: false
examples:
- |
@@ -196,4 +228,23 @@ examples:
power-domains = <&gpufreq>;
};
+ - |
+ #include <dt-bindings/clock/cix,sky1.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/reset/cix,sky1-s5-system-control.h>
+
+ gpu@15010000 {
+ compatible = "cix,sky1-mali", "arm,mali-valhall-csf";
+ reg = <0x15010000 0x480000>;
+ interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "job", "mmu", "gpu";
+ clocks = <&scmi_clk CLK_TREE_GPU_CLK_CORE>,
+ <&scmi_clk CLK_TREE_GPU_CLK_STACKS>;
+ clock-names = "core", "stacks";
+ resets = <&s5_syscon SKY1_GPU_RESET_N>;
+ power-domains = <&smc_devpd 21>;
+ };
+
...
--
2.53.0
next prev parent reply other threads:[~2026-11-06 10:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 10:47 [PATCH 0/3] Add initial GPU support for CIX Sky1 Cunyuan Liu
2026-11-06 10:47 ` Cunyuan Liu [this message]
2026-11-06 17:17 ` [PATCH 1/3] dt-bindings: gpu: Add CIX Sky1 Mali support Conor Dooley
2026-11-06 10:47 ` [PATCH 2/3] drm/panthor: Add initial support for CIX Sky1 Cunyuan Liu
2026-11-06 12:04 ` Philipp Zabel
2026-11-06 13:02 ` Cunyuan Liu (刘存原)
2026-11-06 10:47 ` [PATCH 3/3] arm64: dts: cix: Add GPU support for Sky1 Orion O6 Cunyuan Liu
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=20261106104735.1651267-2-cunyuan.liu@cixtech.com \
--to=cunyuan.liu@cixtech.com \
--cc=aliceryhl@google.com \
--cc=boris.brezillon@collabora.com \
--cc=cix-kernel-upstream@cixtech.com \
--cc=conor+dt@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=fugang.duan@cixtech.com \
--cc=gary.yang@cixtech.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liviu.dudau@arm.com \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=robin.wang@cixtech.com \
--cc=rust-for-linux@vger.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®