Skip to contentSkip to conversation

arm64: qcom: pd-mapper: Add QCS615 power domain mappings

PATCH Applied Le Qi 3 participants 3 messages Jan 30 – Mar 10

Subsystems (2)
lore
Share & tools
lore

Le Qi

author
#0 lore raw

PATCH v2 1/1 arm64: qcom: pd-mapper: Add QCS615 power domain mappings

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/[email protected]/

---
 drivers/soc/qcom/qcom_pd_mapper.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
drivers/soc/qcom/qcom_pd_mapper.c +11 -0
index 1bcbe69688d2..b685698458e3 100644
@@ -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, },
Signature · 1 line
2.34.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 14 lines · 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/[email protected]/

Quoted 4 lines
---
 drivers/soc/qcom/qcom_pd_mapper.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
Quoted 1 line
Signature · 2 lines
With best wishes
Dmitry
maintainer Applied
#2 lore raw
In reply to Le Qi
Quoted 6 lines · 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,

Signature · 1 line
Bjorn Andersson <[email protected]>