Skip to contentSkip to conversation

soc: qcom: pd-mapper: Add Kaanapali compatible

PATCH In review Prasad Kumpatla 2 participants 2 messages Oct 14, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 soc: qcom: pd-mapper: Add Kaanapali compatible

Add support for the Qualcomm Kaanapali SoC to the protection domain mapper. Kaanapali shares the same protection domain configuration as SM8550, except charger_pd as it move to SoCCP.

---
Changes in v2:
- Add separate pd domain data for Kaanapali SoC.
- Link to v1: https://lore.kernel.org/r/[email protected]
---

---
 drivers/soc/qcom/qcom_pd_mapper.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/soc/qcom/qcom_pd_mapper.c +10 -0
index 6384f271953d..1bcbe69688d2 100644
@@ -360,6 +360,15 @@ static const struct qcom_pdm_domain_data mpss_wlan_pd = {
 	},
 };
 
+static const struct qcom_pdm_domain_data *kaanapali_domains[] = {
+	&adsp_audio_pd,
+	&adsp_root_pd,
+	&adsp_sensor_pd,
+	&cdsp_root_pd,
+	&mpss_root_pd_gps,
+	NULL,
+};
+
 static const struct qcom_pdm_domain_data *msm8996_domains[] = {
 	&msm8996_adsp_audio_pd,
 	&msm8996_adsp_root_pd,
@@ -552,6 +561,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
 	{ .compatible = "qcom,apq8074", .data = NULL, },
 	{ .compatible = "qcom,apq8084", .data = NULL, },
 	{ .compatible = "qcom,apq8096", .data = msm8996_domains, },
+	{ .compatible = "qcom,kaanapali", .data = kaanapali_domains, },
 	{ .compatible = "qcom,msm8226", .data = NULL, },
 	{ .compatible = "qcom,msm8909", .data = NULL, },
 	{ .compatible = "qcom,msm8916", .data = NULL, },

---
base-commit: 2b763d4652393c90eaa771a5164502ec9dd965ae
change-id: 20251014-knp-pdmapper-v2-7e71bf73c4e7

Best regards,

Signature · 1 line
Prasad Kumpatla <[email protected]>
Reviewed-by on v2 1/1
#1 lore raw
Quoted 6 lines · On 10/14/25 11:27 AM, Prasad Kumpatla via B4 Relay wrote:

From: Prasad Kumpatla <[email protected]>

Add support for the Qualcomm Kaanapali SoC to the protection domain mapper. Kaanapali shares the same protection domain configuration as SM8550, except charger_pd as it move to SoCCP.

Quoted 7 lines

---
Changes in v2:
- Add separate pd domain data for Kaanapali SoC.
- Link to v1: https://lore.kernel.org/r/[email protected]
---

Konrad