Skip to contentSkip to conversation

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

PATCH Superseded Le Qi 3 participants 5 messages Jan 22 – Jan 27

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Le Qi

author
#0 lore raw

PATCH 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.

---
 drivers/soc/qcom/qcom_pd_mapper.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/soc/qcom/qcom_pd_mapper.c +9 -0
index 1bcbe69688d2..884a2db9bb08 100644
@@ -401,6 +401,14 @@ 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,
+	NULL,
+};
+
 static const struct qcom_pdm_domain_data *sc7180_domains[] = {
 	&adsp_audio_pd,
 	&adsp_root_pd_pdr,
@@ -572,6 +580,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
#1 lore raw
Quoted 15 lines · On 1/22/26 12:13 PM, 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.

---
 drivers/soc/qcom/qcom_pd_mapper.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/soc/qcom/qcom_pd_mapper.c +0 -0
index 1bcbe69688d2..884a2db9bb08 100644

drivers/soc/qcom/qcom_pd_mapper.c static const struct qcom_pdm_domain_data *qcs404_domains[] = { · line 410

Quoted 10 lines
drivers/soc/qcom/qcom_pd_mapper.c +7 -0
@@ -401,6 +401,14 @@ 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,
+	NULL,
+};

No modem_xyz?

Konrad

#2 lore raw
Quoted 19 lines · Konrad Dybcio
Quoted 18 lines · On 1/22/26 12:13 PM, 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.

---
 drivers/soc/qcom/qcom_pd_mapper.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/soc/qcom/qcom_pd_mapper.c +0 -0
index 1bcbe69688d2..884a2db9bb08 100644
@@ -401,6 +401,14 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
 	NULL,
 };
 
Quoted 9 lines

drivers/soc/qcom/qcom_pd_mapper.c static const struct qcom_pdm_domain_data *qcs404_domains[] = { · line 410

Quoted 7 lines
drivers/soc/qcom/qcom_pd_mapper.c +7 -0
+static const struct qcom_pdm_domain_data *qcs615_domains[] = {
+	&adsp_audio_pd,
+	&adsp_root_pd,
+	&adsp_sensor_pd,
+	&cdsp_root_pd,
+	NULL,
+};

No modem_xyz?

There definitely should be mpss_root_pd / mpss_wlan_pd, otherwise modem will not load WiFi firmware.

Signature · 2 lines
With best wishes
Dmitry
author
#3 lore raw
Quoted 30 lines · Dmitry Baryshkov
Quoted 19 lines · Konrad Dybcio
Quoted 18 lines · On 1/22/26 12:13 PM, 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.

---
  drivers/soc/qcom/qcom_pd_mapper.c | 9 +++++++++
  1 file changed, 9 insertions(+)
drivers/soc/qcom/qcom_pd_mapper.c +0 -0
index 1bcbe69688d2..884a2db9bb08 100644
@@ -401,6 +401,14 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
  	NULL,
  };
 
Quoted 9 lines

drivers/soc/qcom/qcom_pd_mapper.c static const struct qcom_pdm_domain_data *qcs404_domains[] = { · line 410

Quoted 7 lines
drivers/soc/qcom/qcom_pd_mapper.c +7 -0
+static const struct qcom_pdm_domain_data *qcs615_domains[] = {
+	&adsp_audio_pd,
+	&adsp_root_pd,
+	&adsp_sensor_pd,
+	&cdsp_root_pd,
+	NULL,
+};

No modem_xyz?

Quoted 3 lines

There definitely should be mpss_root_pd / mpss_wlan_pd, otherwise modem will not load WiFi firmware.

Hi Konrad and Dmitry, This board does not contain an MPSS. WiFi is handled by an independent WLAN module, which has its own internal PMU and is already supported.

Signature · 2 lines
Thx and BRs,
Le Qi
#4 lore raw
Quoted 30 lines · On 1/27/26 9:03 AM, Le Qi wrote:
Quoted 29 lines · Dmitry Baryshkov
Quoted 27 lines · Konrad Dybcio
Quoted 15 lines · On 1/22/26 12:13 PM, 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.

---
  drivers/soc/qcom/qcom_pd_mapper.c | 9 +++++++++

  1 file changed, 9 insertions(+)
drivers/soc/qcom/qcom_pd_mapper.c +0 -0
index 1bcbe69688d2..884a2db9bb08 100644

drivers/soc/qcom/qcom_pd_mapper.c static const struct qcom_pdm_domain_data *qcs404_domains[] = { · line 409

Quoted 9 lines
drivers/soc/qcom/qcom_pd_mapper.c +6 -0
@@ -401,6 +401,14 @@ 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,
+    NULL,
+};

No modem_xyz?

Quoted 5 lines
Quoted 3 lines

There definitely should be mpss_root_pd / mpss_wlan_pd, otherwise modem will not load WiFi firmware.

Hi Konrad and Dmitry, This board does not contain an MPSS. WiFi is handled by an independent WLAN module, which has its own internal PMU and is already supported.

Please describe the full set for Talos-with-modem, the "S" variant will work too, since any "extra" domains will simply remain inactive

Konrad