* [PATCH 1/2] remoteproc: qcom: pas: Vote the SDM660 ADSP's power domain while it boots
2026-11-26 2:20 [PATCH 0/2] SDM660 ADSP: vote the DSP's rail while it boots Fabricio Akio via B4 Relay
@ 2026-11-26 2:20 ` Fabricio Akio via B4 Relay
2026-11-26 2:20 ` [PATCH 2/2] arm64: dts: qcom: sdm630: Power the ADSP from the SSC CX rail Fabricio Akio via B4 Relay
1 sibling, 0 replies; 3+ messages in thread
From: Fabricio Akio via B4 Relay @ 2026-11-26 2:20 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Konrad Dybcio, Abel Vesa,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
Dmitry Baryshkov, Martin Botka, Alexey Minnekhanov,
Fabricio Akio
From: Fabricio Akio <fabricioakio@gmail.com>
The SDM660 ADSP uses adsp_resource_init, which names no proxy power
domain, so the driver votes no rail for the DSP while it boots. On an
SDM630 phone the first start after boot succeeds without one; after a
stop, every later start times out waiting for the DSP.
Use msm8996_adsp_resource, which differs only in voting the "cx" power
domain until the DSP signals handover.
Fixes: a0a77028c85a ("remoteproc: q6v5_pas: Add sdm660 ADSP PIL compatible")
Signed-off-by: Fabricio Akio <fabricioakio@gmail.com>
---
drivers/remoteproc/qcom_q6v5_pas.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
index ff2483529d73..d5b03a433a6d 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -2050,7 +2050,7 @@ static const struct of_device_id qcom_pas_of_match[] = {
{ .compatible = "qcom,sc8280xp-adsp-pas", .data = &sm8250_adsp_resource },
{ .compatible = "qcom,sc8280xp-nsp0-pas", .data = &sc8280xp_nsp0_resource },
{ .compatible = "qcom,sc8280xp-nsp1-pas", .data = &sc8280xp_nsp1_resource },
- { .compatible = "qcom,sdm660-adsp-pas", .data = &adsp_resource_init },
+ { .compatible = "qcom,sdm660-adsp-pas", .data = &msm8996_adsp_resource },
{ .compatible = "qcom,sdm660-cdsp-pas", .data = &cdsp_resource_init },
{ .compatible = "qcom,sdm670-adsp-pas", .data = &sdm670_adsp_resource_init },
{ .compatible = "qcom,sdm845-adsp-pas", .data = &sdm845_adsp_resource_init },
--
2.56.1
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 2/2] arm64: dts: qcom: sdm630: Power the ADSP from the SSC CX rail
2026-11-26 2:20 [PATCH 0/2] SDM660 ADSP: vote the DSP's rail while it boots Fabricio Akio via B4 Relay
2026-11-26 2:20 ` [PATCH 1/2] remoteproc: qcom: pas: Vote the SDM660 ADSP's power domain " Fabricio Akio via B4 Relay
@ 2026-11-26 2:20 ` Fabricio Akio via B4 Relay
1 sibling, 0 replies; 3+ messages in thread
From: Fabricio Akio via B4 Relay @ 2026-11-26 2:20 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Konrad Dybcio, Abel Vesa,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
Dmitry Baryshkov, Martin Botka, Alexey Minnekhanov,
Fabricio Akio
From: Fabricio Akio <fabricioakio@gmail.com>
The ADSP node names RPMPD_VDDCX as its power domain. The rail the ADSP
needs to boot is the RPM's "rwlc" resource, PM660L LDO9, which is
RPMPD_SSCCX: with it voted the DSP starts again after a stop, and with
VDDCX voted it does not.
Fixes: 7ca2ebc90a46 ("arm64: dts: qcom: sdm630: Add ADSP remoteproc configuration")
Signed-off-by: Fabricio Akio <fabricioakio@gmail.com>
---
arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
index 20225732e4a8..90990dc36b01 100644
--- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
@@ -2414,7 +2414,7 @@ adsp_pil: remoteproc@15700000 {
clock-names = "xo";
memory-region = <&adsp_region>;
- power-domains = <&rpmpd RPMPD_VDDCX>;
+ power-domains = <&rpmpd RPMPD_SSCCX>;
power-domain-names = "cx";
qcom,smem-states = <&adsp_smp2p_out 0>;
--
2.56.1
^ permalink raw reply [flat|nested] 3+ messages in thread