Skip to content

Commit 2725be9

Browse files
Srinivas Kandagatlaandersson
authored andcommitted
soc: qcom: pd-mapper: Add support for Glymur and Mahua
Add Protection Domains for Qualcomm Glymur and Mahua SoC which have both ADSP and CDSP. Adding this entry to the kernel will avoid the need for userspace to provide this service. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260324125349.2380904-1-srinivas.kandagatla@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 9a116af commit 2725be9

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

drivers/soc/qcom/qcom_pd_mapper.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,14 @@ static const struct qcom_pdm_domain_data mpss_wlan_pd = {
360360
},
361361
};
362362

363+
static const struct qcom_pdm_domain_data *glymur_domains[] = {
364+
&adsp_audio_pd,
365+
&adsp_root_pd,
366+
&adsp_sensor_pd,
367+
&cdsp_root_pd,
368+
NULL,
369+
};
370+
363371
static const struct qcom_pdm_domain_data *kaanapali_domains[] = {
364372
&adsp_audio_pd,
365373
&adsp_root_pd,
@@ -571,7 +579,9 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
571579
{ .compatible = "qcom,apq8074", .data = NULL, },
572580
{ .compatible = "qcom,apq8084", .data = NULL, },
573581
{ .compatible = "qcom,apq8096", .data = msm8996_domains, },
582+
{ .compatible = "qcom,glymur", .data = glymur_domains, },
574583
{ .compatible = "qcom,kaanapali", .data = kaanapali_domains, },
584+
{ .compatible = "qcom,mahua", .data = glymur_domains, },
575585
{ .compatible = "qcom,milos", .data = sm8550_domains, },
576586
{ .compatible = "qcom,msm8226", .data = NULL, },
577587
{ .compatible = "qcom,msm8909", .data = NULL, },

0 commit comments

Comments
 (0)