From: Jens Reidel <[email protected]>

SM7150 protection domains are the same as SC7180, with the subtle
difference that SM7150 has a CDSP.

Signed-off-by: Jens Reidel <[email protected]>
Signed-off-by: Danila Tikhonov <[email protected]>
---
 drivers/soc/qcom/qcom_pd_mapper.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/soc/qcom/qcom_pd_mapper.c 
b/drivers/soc/qcom/qcom_pd_mapper.c
index 1d1c438be3e7..3abea241b1c4 100644
--- a/drivers/soc/qcom/qcom_pd_mapper.c
+++ b/drivers/soc/qcom/qcom_pd_mapper.c
@@ -488,6 +488,16 @@ static const struct qcom_pdm_domain_data *sm6350_domains[] 
= {
        NULL,
 };
 
+static const struct qcom_pdm_domain_data *sm7150_domains[] = {
+       &adsp_audio_pd,
+       &adsp_root_pd,
+       &adsp_sensor_pd,
+       &cdsp_root_pd,
+       &mpss_root_pd_gps,
+       &mpss_wlan_pd,
+       NULL,
+};
+
 static const struct qcom_pdm_domain_data *sm8150_domains[] = {
        &adsp_audio_pd,
        &adsp_root_pd,
@@ -565,6 +575,7 @@ static const struct of_device_id qcom_pdm_domains[] 
__maybe_unused = {
        { .compatible = "qcom,sm4250", .data = sm6115_domains, },
        { .compatible = "qcom,sm6115", .data = sm6115_domains, },
        { .compatible = "qcom,sm6350", .data = sm6350_domains, },
+       { .compatible = "qcom,sm7150", .data = sm7150_domains, },
        { .compatible = "qcom,sm7225", .data = sm6350_domains, },
        { .compatible = "qcom,sm7325", .data = sc7280_domains, },
        { .compatible = "qcom,sm8150", .data = sm8150_domains, },
-- 
2.49.0

Reply via email to