[PATCH 0/2] SDM660 ADSP: vote the DSP's rail while it boots
From: Fabricio Akio via B4 Relay
Date: Wed Nov 25 2026 - 21:20:48 EST
On SDM630 the ADSP starts once per boot. After a stop or a crash, the
next start times out waiting for the DSP:
qcom_q6v5_pas 15700000.remoteproc: start timed out
remoteproc remoteproc0: can't start rproc adsp: -110
The driver votes no power domain for this compatible while the DSP
boots, and sdm630.dtsi gives the node the SoC's CX. Downstream votes the
RPM's "rwlc" resource, PM660L LDO9, as the ADSP's supply while it boots,
on SDM630 and SDM660:
https://github.com/LineageOS/android_kernel_motorola_msm8998/blob/ce9ea8f125c7302ae9b2fec84f23a69271e957c3/arch/arm/boot/dts/qcom/sdm630.dtsi#L1737
https://github.com/LineageOS/android_kernel_motorola_msm8998/blob/ce9ea8f125c7302ae9b2fec84f23a69271e957c3/arch/arm/boot/dts/qcom/sdm660.dtsi#L2008
https://github.com/LineageOS/android_kernel_motorola_msm8998/blob/ce9ea8f125c7302ae9b2fec84f23a69271e957c3/arch/arm/boot/dts/qcom/msm-pm660l-rpm-regulator.dtsi#L194
Patch 1 makes the driver vote the node's "cx" power domain until
handover, as it does for MSM8998. Patch 2 points that domain at
RPMPD_SSCCX, which is "rwlc". With either patch alone the start after a
stop still times out.
With patch 1 the driver does not probe a node without the power domain,
as for the other users of msm8996_adsp_resource. The binding does not
require the property; sdm630.dtsi has had it since the node was added.
Tested on a Motorola Moto X4 (SDM630), whose board file is not in
mainline yet, on sdm660-mainline's 7.2 kernel: the ADSP stopped and
started five times, and a fatal error and a watchdog timeout injected
into the DSP both recovered. The SDM636, SDM660 and SDA660 boards are
not tested.
Signed-off-by: Fabricio Akio <fabricioakio@xxxxxxxxx>
---
Fabricio Akio (2):
remoteproc: qcom: pas: Vote the SDM660 ADSP's power domain while it boots
arm64: dts: qcom: sdm630: Power the ADSP from the SSC CX rail
arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +-
drivers/remoteproc/qcom_q6v5_pas.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
base-commit: 909ef7a9a30fa139e69e555e3606680f5cca7726
change-id: 20261125-sdm660-adsp-proxy-rail-5e757998f66a
Best regards,
--
Fabricio Akio <fabricioakio@xxxxxxxxx>