* [PATCH] dt-bindings: soc: Add Kendryte K230 power domain bindings
@ 2025-12-03 9:26 q691800735
2025-12-03 9:49 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: q691800735 @ 2025-12-03 9:26 UTC (permalink / raw)
To: linux-riscv, devicetree
Cc: pjw, palmer, aou, alex, robh, krzk+dt, conor+dt, linux-kernel,
jybruceupup
From: jybruceupup <q691800735@163.com>
Add canaan,k230_pm_domains.h to define power domain IDs for Kendryte K230
RISC-V SoC (CPU1, AI, display, VPU, 3D-struct engine).
Update MAINTAINERS RISC-V entry to include the new binding header for
proper maintenance tracking.
Signed-off-by: jybruceupup <q691800735@163.com>
---
MAINTAINERS | 1 +
include/dt-bindings/soc/canaan,k230_pm_domains.h | 13 +++++++++++++
2 files changed, 14 insertions(+)
create mode 100644 include/dt-bindings/soc/canaan,k230_pm_domains.h
diff --git a/MAINTAINERS b/MAINTAINERS
index 980a3d5d6..d83920cbc 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -22105,6 +22105,7 @@ C: irc://irc.libera.chat/riscv
P: Documentation/arch/riscv/patch-acceptance.rst
T: git git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
F: arch/riscv/
+F: include/dt-bindings/soc/canaan,k230_pm_domains.h
N: riscv
K: riscv
diff --git a/include/dt-bindings/soc/canaan,k230_pm_domains.h b/include/dt-bindings/soc/canaan,k230_pm_domains.h
new file mode 100644
index 000000000..e212126e4
--- /dev/null
+++ b/include/dt-bindings/soc/canaan,k230_pm_domains.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef _DT_BINDINGS_SOC_K230_PM_DOMAINS_H
+#define _DT_BINDINGS_SOC_K230_PM_DOMAINS_H
+
+#define K230_PM_DOMAIN_CPU1 0 /* CPU1 subsystem */
+#define K230_PM_DOMAIN_AI 1 /* AI Subsystem */
+#define K230_PM_DOMAIN_DISP 2 /* Display, 2.5D Engine */
+#define K230_PM_DOMAIN_VPU 3 /* Video subsystem */
+#define K230_PM_DOMAIN_DPU 4 /* 3D-struct Engine */
+#define K230_PM_DOMAIN_MAX 5
+
+#endif /* _DT_BINDINGS_SOC_K230_PM_DOMAINS_H */
--
2.52.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: soc: Add Kendryte K230 power domain bindings
2025-12-03 9:26 [PATCH] dt-bindings: soc: Add Kendryte K230 power domain bindings q691800735
@ 2025-12-03 9:49 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-03 9:49 UTC (permalink / raw)
To: q691800735, linux-riscv, devicetree
Cc: pjw, palmer, aou, alex, robh, krzk+dt, conor+dt, linux-kernel
On 03/12/2025 10:26, q691800735@163.com wrote:
> From: jybruceupup <q691800735@163.com>
>
> Add canaan,k230_pm_domains.h to define power domain IDs for Kendryte K230
> RISC-V SoC (CPU1, AI, display, VPU, 3D-struct engine).
>
> Update MAINTAINERS RISC-V entry to include the new binding header for
> proper maintenance tracking.
>
> Signed-off-by: jybruceupup <q691800735@163.com>
Are you sure this is proper transliteration/translation of your name to
Latin alphabet?
> ---
> MAINTAINERS | 1 +
> include/dt-bindings/soc/canaan,k230_pm_domains.h | 13 +++++++++++++
> 2 files changed, 14 insertions(+)
> create mode 100644 include/dt-bindings/soc/canaan,k230_pm_domains.h
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 980a3d5d6..d83920cbc 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -22105,6 +22105,7 @@ C: irc://irc.libera.chat/riscv
> P: Documentation/arch/riscv/patch-acceptance.rst
> T: git git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
> F: arch/riscv/
> +F: include/dt-bindings/soc/canaan,k230_pm_domains.h
> N: riscv
> K: riscv
>
> diff --git a/include/dt-bindings/soc/canaan,k230_pm_domains.h b/include/dt-bindings/soc/canaan,k230_pm_domains.h
> new file mode 100644
> index 000000000..e212126e4
> --- /dev/null
> +++ b/include/dt-bindings/soc/canaan,k230_pm_domains.h
> @@ -0,0 +1,13 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
All the same comments as for other patch plus wrong license.
Heh, and please organize your work in reasonable patchsets...
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-03 9:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-03 9:26 [PATCH] dt-bindings: soc: Add Kendryte K230 power domain bindings q691800735
2025-12-03 9:49 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox