From: Fabricio Akio via B4 Relay <devnull+fabricioakio.gmail.com@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Dmitry Baryshkov <lumag@kernel.org>,
Martin Botka <martin.botka1@gmail.com>,
Alexey Minnekhanov <alexeymin@minlexx.ru>,
Fabricio Akio <fabricioakio@gmail.com>
Subject: [PATCH 0/2] SDM660 ADSP: vote the DSP's rail while it boots
Date: Wed, 25 Nov 2026 23:20:33 -0300 [thread overview]
Message-ID: <20261125-sdm660-adsp-proxy-rail-v1-0-b91784c69623@gmail.com> (raw)
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@gmail.com>
---
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@gmail.com>
next reply other threads:[~2026-11-26 2:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 2:20 Fabricio Akio via B4 Relay [this message]
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 ` [PATCH 2/2] arm64: dts: qcom: sdm630: Power the ADSP from the SSC CX rail Fabricio Akio via B4 Relay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125-sdm660-adsp-proxy-rail-v1-0-b91784c69623@gmail.com \
--to=devnull+fabricioakio.gmail.com@kernel.org \
--cc=abelvesa@kernel.org \
--cc=alexeymin@minlexx.ru \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fabricioakio@gmail.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=martin.botka1@gmail.com \
--cc=mathieu.poirier@linaro.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®