eb7268a581
Adds fleet/ampere.yaml manifest and 3 scope-tagged patches in
patches/board/coolpi-genbook/ for the linux-ampere-fourier kernel.
Baseline: mainline v7.0-rc3. Patch set is the verified-working
minimum after a 2026-05-16 bisect campaign:
0001 pwm15 pinctrl entries (rk3588 SoC dtsi)
0002 pwm-fan + thermal cooling cells (genbook dts)
0003 RK806 system-power-controller (cm5 module dtsi)
NOT included (intentionally):
- misc_patches/genbook/kernel/0010 family — suspend/resume +
wakeup WIP, leave out until Markus closes the thread
- 8 cherry-picks (Shawn Lin pcie3 phy, Cristian Ciocaltea
clk+dw-dp, Sebastian Reichel hdmirx, Pedro Alves) plus the
DTS commits (lid switch, USB-C PD, speaker) — one or more
of these black-screens ampere; offender not yet bisected
The linux-rk3588-marfrit branch tip (f8f3ad9, 18 commits ahead
of v7.0-rc3) produced a display regression on ampere
(connector/dpms/SDDM all positive software-side, panel actually
blank). Decomposing patch 0010 into 5 atomic sub-commits and
reverting all 5 (= test-arch-plus-pcie3 branch on
git.reauktion.de/marfrit/linux-rk3588-marfrit) did NOT fix the
regression, ruling out 0010. The ampere-minimal branch
(v7.0-rc3 + only the 3 patches above) boots clean with display
on ampere — confirming the offender is one of the 14 patches
left out here.
ampere-minimal branch on git.reauktion.de/marfrit/linux-rk3588-marfrit
@ 0ce6ef5d48f2 is the working baseline.
Generated-by: Claude Opus 4.7 <claude@reauktion.de>
41 lines
1.6 KiB
Diff
41 lines
1.6 KiB
Diff
From 0ce6ef5d48f2a557b5f39b9cf10903e46c0b55e9 Mon Sep 17 00:00:00 2001
|
|
From: Markus Fritsche <mfritsche@localhost>
|
|
Date: Thu, 16 Apr 2026 23:52:53 +0200
|
|
Subject: [PATCH 3/3] arm64: dts: rockchip: rk3588-coolpi-cm5: fix power-off by
|
|
enabling RK806 as system power controller
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Without the system-power-controller property the rk8xx-core driver never
|
|
registers its sys_off handler (rk808_power_off), which writes the DEV_OFF
|
|
bit to RK806_SYS_CFG3 at shutdown time. As a result the RK806 PMIC does
|
|
not cut power and the board remains partially active after "poweroff" —
|
|
the heartbeat LED stops but internal activity continues.
|
|
|
|
All other mainline RK3588 boards that use the RK806 carry this property
|
|
(NanoPC-T6, Rock 5A, OrangePi 5, Jaguar, ...). Add it to the CoolPi CM5
|
|
PMIC node to restore proper power-off behaviour.
|
|
|
|
Generated-by: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Signed-off-by: Markus Fritsche <mfritsche@reauktion.de>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi
|
|
index b07543315f87..83b72ec95f5a 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi
|
|
@@ -346,6 +346,7 @@ pmic@0 {
|
|
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
+ system-power-controller;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
|
|
<&rk806_dvs2_null>, <&rk806_dvs3_null>;
|
|
--
|
|
2.54.0
|
|
|