[PATCH] arm64: dts: rockchip: Keep the PCIe power of Kobol Helios64 on
From: Igor Velkov via B4 Relay
Date: Wed Nov 18 2026 - 18:01:11 EST
From: Igor Velkov <iav@xxxxxx>
The JMB585 SATA controller needs PERST# high for about 60 ms after its
supply comes up. If PERST# is low at power-on, the chip stays dead
until the next power cycle.
At boot pcie_power is already on and PERST# is pulled high, so the
driver only pulses PERST# on a running chip. On unbind the driver
switches pcie_power off; on bind it asserts PERST# before it switches
the supply back on, and the link never trains (LTSSM in Detect.Active).
Keep pcie_power on, so that a rebind resets the chip the way boot does.
Tested with unbind/bind of the controller on v7.4-rc2 (plus the pending
rockchip-host link retry patch, which did not trigger): 0 of 4 attempts
without this change, 8 of 8 with it.
Signed-off-by: Igor Velkov <iav@xxxxxx>
---
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts
index 76beac38699f..aba8a0c87edb 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts
@@ -230,6 +230,7 @@ pcie_power: regulator-pcie-power {
gpio = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&pcie_pwr>;
pinctrl-names = "default";
+ regulator-always-on;
regulator-boot-on;
regulator-name = "pcie_power";
startup-delay-us = <10000>;
---
base-commit: a9d78db32fe78bdbe7c66ba77cb7dbb729b885de
change-id: 20261118-helios64-pcie-always-on-a021bf706987
Best regards,
--
Igor Velkov <iav@xxxxxx>