mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64: dts: rockchip: Add ArmSoM Sige7s support
@ 2026-10-29  8:25 Jianfeng Liu
  2026-10-29  8:25 ` [PATCH v2 1/2] dt-bindings: arm: rockchip: Add ArmSoM Sige7s Jianfeng Liu
  2026-10-29  8:25 ` [PATCH v2 2/2] arm64: dts: rockchip: Add ArmSoM Sige7s board Jianfeng Liu
  0 siblings, 2 replies; 3+ messages in thread
From: Jianfeng Liu @ 2026-10-29  8:25 UTC (permalink / raw)
  To: linux-rockchip
  Cc: Krzysztof Kozlowski, Quentin Schulz, Jianfeng Liu,
	Alexey Charkov, Amin Gattout, Chris Morgan, Chukun Pan,
	Coia Prant, Conor Dooley, FUKAUMI Naoki, Heiko Stuebner,
	Hrushiraj Gandhi, Krzysztof Kozlowski, Michael Opdenacker,
	Michael Riesch, Rob Herring, devicetree, linux-arm-kernel,
	linux-kernel, 安容

Add support for the ArmSoM Sige7s, an RK3588S-based single-board computer.
ArmSoM confirmed that it purchased the CoolPi 4B hardware design and made
no hardware modifications for the Sige7s.

Keep a distinct model and compatible so Linux identifies the board under
its marketed name, including when a kernel-provided DTB replaces the
firmware-provided DTB. Retain coolpi,pi-4b as a fallback compatible.

Following Quentin's suggestion, the Sige7s DTS now includes the CoolPi 4B
DTS directly and overrides only model and compatible. The existing CoolPi
DTS is unchanged, and the common DTSI extraction patch has been dropped.
The series now consists of a binding patch and a board DTS patch.

The v1 series was boot-tested on an ArmSoM Sige7s v1.0 board, which booted
successfully into userspace. This series retains the existing hardware
support provided by the CoolPi 4B device tree.

Validation for v2:
- Build-tested both DTBs with arm64 defconfig and W=1.
- Ran dt_binding_check for arm/rockchip.yaml.
- Validated both DTBs against the processed schema set.
- Checked the new DTS with dt-check-style --mode=strict.

Based on next-20261028.
v1: https://lore.kernel.org/r/20261022125339.82746-1-liujianfeng1994@gmail.com/

AI assistance: Codex prepared the v2 changes from the v1 patches and
mailing-list feedback, revised the commit messages and cover letter,
and ran the build and schema checks.

Changes in v2:
- Drop the common DTSI extraction patch and reduce the series to two patches.
- Include the CoolPi DTS directly in the Sige7s DTS, as suggested by Quentin.
- Clarify the unchanged hardware design and the reason for a separate identity.
- Add a background comment to the Sige7s DTS.
- Rebase onto next-20261028.

Jianfeng Liu (2):
  dt-bindings: arm: rockchip: Add ArmSoM Sige7s
  arm64: dts: rockchip: Add ArmSoM Sige7s board

 .../devicetree/bindings/arm/rockchip.yaml        |  6 ++++++
 arch/arm64/boot/dts/rockchip/Makefile            |  1 +
 .../boot/dts/rockchip/rk3588s-armsom-sige7s.dts  | 16 ++++++++++++++++
 3 files changed, 23 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-armsom-sige7s.dts

---
base-commit: 6d0933ae9d46674a6ea63a87e9e9ab4e662670c9
branch: sige7s-next-20261028

-- 
2.47.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2 1/2] dt-bindings: arm: rockchip: Add ArmSoM Sige7s
  2026-10-29  8:25 [PATCH v2 0/2] arm64: dts: rockchip: Add ArmSoM Sige7s support Jianfeng Liu
@ 2026-10-29  8:25 ` Jianfeng Liu
  2026-10-29  8:25 ` [PATCH v2 2/2] arm64: dts: rockchip: Add ArmSoM Sige7s board Jianfeng Liu
  1 sibling, 0 replies; 3+ messages in thread
From: Jianfeng Liu @ 2026-10-29  8:25 UTC (permalink / raw)
  To: linux-rockchip
  Cc: Krzysztof Kozlowski, Quentin Schulz, Jianfeng Liu, Chris Morgan,
	Chukun Pan, Coia Prant, Conor Dooley, FUKAUMI Naoki,
	Heiko Stuebner, Hrushiraj Gandhi, Krzysztof Kozlowski,
	Michael Opdenacker, Rob Herring, devicetree, linux-arm-kernel,
	linux-kernel, 安容

ArmSoM purchased the CoolPi 4B hardware design from CoolPi and confirmed
that the Sige7s uses it without hardware modifications.

Document armsom,sige7s with coolpi,pi-4b as a fallback to reflect this
hardware compatibility. Keep a distinct board compatible so that the
rebranded product can be identified as an ArmSoM Sige7s.

Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>

---

Changes in v2:
- Clarify that ArmSoM acquired the design without hardware modifications.
- Explain why a distinct board compatible is retained.

 Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml
index a24949b163cff..1b905a7af8009 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.yaml
+++ b/Documentation/devicetree/bindings/arm/rockchip.yaml
@@ -99,6 +99,12 @@ properties:
           - const: armsom,sige7
           - const: rockchip,rk3588
 
+      - description: ArmSoM Sige7s board
+        items:
+          - const: armsom,sige7s
+          - const: coolpi,pi-4b
+          - const: rockchip,rk3588s
+
       - description: ArmSoM LM7 SoM
         items:
           - enum:
-- 
2.47.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2 2/2] arm64: dts: rockchip: Add ArmSoM Sige7s board
  2026-10-29  8:25 [PATCH v2 0/2] arm64: dts: rockchip: Add ArmSoM Sige7s support Jianfeng Liu
  2026-10-29  8:25 ` [PATCH v2 1/2] dt-bindings: arm: rockchip: Add ArmSoM Sige7s Jianfeng Liu
@ 2026-10-29  8:25 ` Jianfeng Liu
  1 sibling, 0 replies; 3+ messages in thread
From: Jianfeng Liu @ 2026-10-29  8:25 UTC (permalink / raw)
  To: linux-rockchip
  Cc: Krzysztof Kozlowski, Quentin Schulz, Jianfeng Liu,
	Alexey Charkov, Amin Gattout, Chukun Pan, Conor Dooley,
	Heiko Stuebner, Hrushiraj Gandhi, Krzysztof Kozlowski,
	Michael Riesch, Rob Herring, devicetree, linux-arm-kernel,
	linux-kernel

The ArmSoM Sige7s is a rebranded CoolPi 4B. ArmSoM purchased the original
hardware design from CoolPi and confirmed that no hardware modifications
were made for the Sige7s.

Include the CoolPi 4B DTS directly and override only model and compatible.
This preserves the Sige7s board identity without duplicating the hardware
description or changing the existing CoolPi DTS. It also preserves that
identity when a firmware-provided DTB is replaced by one shipped with the
kernel.

Add a comment explaining the relationship between the boards and register
the new DTB in the Makefile.

Link: https://docs.armsom.org/armsom-sige7s
Link: https://lore.kernel.org/r/2a1c33c9-8971-4054-a463-60f3ceddd627@cherry.de/

Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
---

Changes in v2:
- Include the CoolPi DTS directly instead of extracting a common DTSI.
- Explain the board identity requirement in the commit message and DTS comment.

 arch/arm64/boot/dts/rockchip/Makefile            |  1 +
 .../boot/dts/rockchip/rk3588s-armsom-sige7s.dts  | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-armsom-sige7s.dts

diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index 442d322a20cf7..c8a5a88a0e46a 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -231,6 +231,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-turing-rk1.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vicharak-axon.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vicharak-vaaman2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-youyeetoo-yy3588.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-armsom-sige7s.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-coolpi-4b.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-evb1-v10.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-gameforce-ace.dtb
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-armsom-sige7s.dts b/arch/arm64/boot/dts/rockchip/rk3588s-armsom-sige7s.dts
new file mode 100644
index 0000000000000..c3282581b42d2
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-armsom-sige7s.dts
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * The ArmSoM Sige7s is a rebranded CoolPi 4B. ArmSoM acquired the original
+ * hardware design and confirmed that it was not modified. Reuse the CoolPi
+ * 4B description while keeping the Sige7s model and compatible to identify
+ * the board under its marketed name.
+ */
+
+/dts-v1/;
+
+#include "rk3588s-coolpi-4b.dts"
+
+/ {
+	model = "ArmSoM Sige7s";
+	compatible = "armsom,sige7s", "coolpi,pi-4b", "rockchip,rk3588s";
+};
-- 
2.47.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-29  8:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-29  8:25 [PATCH v2 0/2] arm64: dts: rockchip: Add ArmSoM Sige7s support Jianfeng Liu
2026-10-29  8:25 ` [PATCH v2 1/2] dt-bindings: arm: rockchip: Add ArmSoM Sige7s Jianfeng Liu
2026-10-29  8:25 ` [PATCH v2 2/2] arm64: dts: rockchip: Add ArmSoM Sige7s board Jianfeng Liu

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®