]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
soc: qcom: pd-mapper: Add Kaanapali compatible
authorPrasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
Tue, 14 Oct 2025 09:27:10 +0000 (14:57 +0530)
committerBjorn Andersson <andersson@kernel.org>
Fri, 17 Oct 2025 21:58:36 +0000 (14:58 -0700)
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.

Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
Signed-off-by: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251014-knp-pdmapper-v2-v2-1-ba44422ac503@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/qcom_pd_mapper.c

index 6384f271953d40614fec87c04f84464d3c9c6a86..1bcbe69688d2bc2559a1395929e5cd74d9a7a764 100644 (file)
@@ -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, },