Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jens Reidel and committed by
Bjorn Andersson
7dc837b5 5090ac91

+11
+11
drivers/soc/qcom/qcom_pd_mapper.c
··· 488 488 NULL, 489 489 }; 490 490 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 + 491 501 static const struct qcom_pdm_domain_data *sm8150_domains[] = { 492 502 &adsp_audio_pd, 493 503 &adsp_root_pd, ··· 575 565 { .compatible = "qcom,sm4250", .data = sm6115_domains, }, 576 566 { .compatible = "qcom,sm6115", .data = sm6115_domains, }, 577 567 { .compatible = "qcom,sm6350", .data = sm6350_domains, }, 568 + { .compatible = "qcom,sm7150", .data = sm7150_domains, }, 578 569 { .compatible = "qcom,sm7225", .data = sm6350_domains, }, 579 570 { .compatible = "qcom,sm7325", .data = sc7280_domains, }, 580 571 { .compatible = "qcom,sm8150", .data = sm8150_domains, },