Skip to content

Commit 7dc837b

Browse files
Gelbpunktandersson
authored andcommitted
soc: qcom: pd-mapper: Add support for SM7150
SM7150 protection domains are the same as SC7180, with the subtle difference that SM7150 has a CDSP. Signed-off-by: Jens Reidel <adrian@mainlining.org> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250422213137.80366-11-danila@jiaxyga.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 5090ac9 commit 7dc837b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

drivers/soc/qcom/qcom_pd_mapper.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,16 @@ static const struct qcom_pdm_domain_data *sm6350_domains[] = {
488488
NULL,
489489
};
490490

491+
static const struct qcom_pdm_domain_data *sm7150_domains[] = {
492+
&adsp_audio_pd,
493+
&adsp_root_pd,
494+
&adsp_sensor_pd,
495+
&cdsp_root_pd,
496+
&mpss_root_pd_gps,
497+
&mpss_wlan_pd,
498+
NULL,
499+
};
500+
491501
static const struct qcom_pdm_domain_data *sm8150_domains[] = {
492502
&adsp_audio_pd,
493503
&adsp_root_pd,
@@ -565,6 +575,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
565575
{ .compatible = "qcom,sm4250", .data = sm6115_domains, },
566576
{ .compatible = "qcom,sm6115", .data = sm6115_domains, },
567577
{ .compatible = "qcom,sm6350", .data = sm6350_domains, },
578+
{ .compatible = "qcom,sm7150", .data = sm7150_domains, },
568579
{ .compatible = "qcom,sm7225", .data = sm6350_domains, },
569580
{ .compatible = "qcom,sm7325", .data = sc7280_domains, },
570581
{ .compatible = "qcom,sm8150", .data = sm8150_domains, },

0 commit comments

Comments
 (0)