* [PATCH v2] arm64: qcom: pd-mapper: Add QCS615 power domain mappings
@ 2026-01-30 6:12 Le Qi
2026-01-31 8:35 ` Dmitry Baryshkov
2026-03-10 2:45 ` Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: Le Qi @ 2026-01-30 6:12 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio; +Cc: linux-arm-msm, linux-kernel, kernel, Le Qi
Add the QCS615 domain table to the in-kernel pd-mapper so that audio
subsystems no longer rely on the userspace pd-mapper daemon.
This enables proper initialization of ADSP and CDSP domains directly
from the kernel.
---
Changelog:
v2:
- Added mpss_root_pd and mpss_wlan_pd for Talos/SM6150 variants, as Wi‑Fi
firmware is loaded via MPSS (icnss). Confirmed by modemr.jsn/root_pd and
modemuw.jsn/wlan_pd from Redmi Note 7 Pro firmware
- v1-link: https://lore.kernel.org/all/20260122111318.500262-1-le.qi@oss.qualcomm.com/
Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
---
drivers/soc/qcom/qcom_pd_mapper.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
index 1bcbe69688d2..b685698458e3 100644
--- a/drivers/soc/qcom/qcom_pd_mapper.c
+++ b/drivers/soc/qcom/qcom_pd_mapper.c
@@ -401,6 +401,16 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
NULL,
};
+static const struct qcom_pdm_domain_data *qcs615_domains[] = {
+ &adsp_audio_pd,
+ &adsp_root_pd,
+ &adsp_sensor_pd,
+ &cdsp_root_pd,
+ &mpss_root_pd,
+ &mpss_wlan_pd,
+ NULL,
+};
+
static const struct qcom_pdm_domain_data *sc7180_domains[] = {
&adsp_audio_pd,
&adsp_root_pd_pdr,
@@ -572,6 +582,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
{ .compatible = "qcom,qcm2290", .data = qcm2290_domains, },
{ .compatible = "qcom,qcm6490", .data = sc7280_domains, },
{ .compatible = "qcom,qcs404", .data = qcs404_domains, },
+ { .compatible = "qcom,qcs615", .data = qcs615_domains, },
{ .compatible = "qcom,sc7180", .data = sc7180_domains, },
{ .compatible = "qcom,sc7280", .data = sc7280_domains, },
{ .compatible = "qcom,sc8180x", .data = sc8180x_domains, },
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] arm64: qcom: pd-mapper: Add QCS615 power domain mappings
2026-01-30 6:12 [PATCH v2] arm64: qcom: pd-mapper: Add QCS615 power domain mappings Le Qi
@ 2026-01-31 8:35 ` Dmitry Baryshkov
2026-03-10 2:45 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Baryshkov @ 2026-01-31 8:35 UTC (permalink / raw)
To: Le Qi; +Cc: Bjorn Andersson, Konrad Dybcio, linux-arm-msm, linux-kernel, kernel
On Fri, Jan 30, 2026 at 02:12:31PM +0800, Le Qi wrote:
> Add the QCS615 domain table to the in-kernel pd-mapper so that audio
> subsystems no longer rely on the userspace pd-mapper daemon.
> This enables proper initialization of ADSP and CDSP domains directly
> from the kernel.
>
> ---
> Changelog:
>
> v2:
> - Added mpss_root_pd and mpss_wlan_pd for Talos/SM6150 variants, as Wi‑Fi
> firmware is loaded via MPSS (icnss). Confirmed by modemr.jsn/root_pd and
> modemuw.jsn/wlan_pd from Redmi Note 7 Pro firmware
> - v1-link: https://lore.kernel.org/all/20260122111318.500262-1-le.qi@oss.qualcomm.com/
>
> Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
> ---
> drivers/soc/qcom/qcom_pd_mapper.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] arm64: qcom: pd-mapper: Add QCS615 power domain mappings
2026-01-30 6:12 [PATCH v2] arm64: qcom: pd-mapper: Add QCS615 power domain mappings Le Qi
2026-01-31 8:35 ` Dmitry Baryshkov
@ 2026-03-10 2:45 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2026-03-10 2:45 UTC (permalink / raw)
To: Konrad Dybcio, Le Qi; +Cc: linux-arm-msm, linux-kernel, kernel
On Fri, 30 Jan 2026 14:12:31 +0800, Le Qi wrote:
> Add the QCS615 domain table to the in-kernel pd-mapper so that audio
> subsystems no longer rely on the userspace pd-mapper daemon.
> This enables proper initialization of ADSP and CDSP domains directly
> from the kernel.
>
>
Applied, thanks!
[1/1] arm64: qcom: pd-mapper: Add QCS615 power domain mappings
commit: 7a7d24a14a009691a1af6bfe45b210521635db5b
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-10 2:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-30 6:12 [PATCH v2] arm64: qcom: pd-mapper: Add QCS615 power domain mappings Le Qi
2026-01-31 8:35 ` Dmitry Baryshkov
2026-03-10 2:45 ` Bjorn Andersson
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®