Skip to content

Commit d4471b9

Browse files
minlexxandersson
authored andcommitted
soc: qcom: pd-mapper: Add support for SDM630/636
Add missing compatibles and pdm_domain_data for SDM630 and SDM636. Unlike their older brother (SDM660) these two cut down SoCs lack CDSP. Other protection domains are the same as the ones for SDM660. Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20250217050251.298163-1-alexeymin@postmarketos.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent e651222 commit d4471b9

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

drivers/soc/qcom/qcom_pd_mapper.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,16 @@ static const struct qcom_pdm_domain_data *sc8280xp_domains[] = {
429429
NULL,
430430
};
431431

432+
/* Unlike SDM660, SDM630/636 lack CDSP */
433+
static const struct qcom_pdm_domain_data *sdm630_domains[] = {
434+
&adsp_audio_pd,
435+
&adsp_root_pd,
436+
&adsp_sensor_pd,
437+
&mpss_root_pd,
438+
&mpss_wlan_pd,
439+
NULL,
440+
};
441+
432442
static const struct qcom_pdm_domain_data *sdm660_domains[] = {
433443
&adsp_audio_pd,
434444
&adsp_root_pd,
@@ -546,6 +556,8 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
546556
{ .compatible = "qcom,sc7280", .data = sc7280_domains, },
547557
{ .compatible = "qcom,sc8180x", .data = sc8180x_domains, },
548558
{ .compatible = "qcom,sc8280xp", .data = sc8280xp_domains, },
559+
{ .compatible = "qcom,sdm630", .data = sdm630_domains, },
560+
{ .compatible = "qcom,sdm636", .data = sdm630_domains, },
549561
{ .compatible = "qcom,sda660", .data = sdm660_domains, },
550562
{ .compatible = "qcom,sdm660", .data = sdm660_domains, },
551563
{ .compatible = "qcom,sdm670", .data = sdm670_domains, },

0 commit comments

Comments
 (0)