]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
soc: qcom: pd-mapper: Add support for SM7150
authorJens Reidel <adrian@mainlining.org>
Tue, 22 Apr 2025 21:31:31 +0000 (00:31 +0300)
committerBjorn Andersson <andersson@kernel.org>
Fri, 9 May 2025 22:12:55 +0000 (17:12 -0500)
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>
drivers/soc/qcom/qcom_pd_mapper.c

index 1d1c438be3e7bdd5d78899d28172e3f8469e2fb4..3abea241b1c42590037969cc978f15532be29329 100644 (file)
@@ -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, },