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.

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>
This commit is contained in:
Prasad Kumpatla 2025-10-14 14:57:10 +05:30 committed by Bjorn Andersson
parent 3a86608788
commit 5e88dfc52f
1 changed files with 10 additions and 0 deletions

View 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[] = { static const struct qcom_pdm_domain_data *msm8996_domains[] = {
&msm8996_adsp_audio_pd, &msm8996_adsp_audio_pd,
&msm8996_adsp_root_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,apq8074", .data = NULL, },
{ .compatible = "qcom,apq8084", .data = NULL, }, { .compatible = "qcom,apq8084", .data = NULL, },
{ .compatible = "qcom,apq8096", .data = msm8996_domains, }, { .compatible = "qcom,apq8096", .data = msm8996_domains, },
{ .compatible = "qcom,kaanapali", .data = kaanapali_domains, },
{ .compatible = "qcom,msm8226", .data = NULL, }, { .compatible = "qcom,msm8226", .data = NULL, },
{ .compatible = "qcom,msm8909", .data = NULL, }, { .compatible = "qcom,msm8909", .data = NULL, },
{ .compatible = "qcom,msm8916", .data = NULL, }, { .compatible = "qcom,msm8916", .data = NULL, },