soc: qcom: pd-mapper: Add support for the Qualcomm Shikra SoC
Subsystems (2)
PATCH v2 1/1 soc: qcom: pd-mapper: Add support for the Qualcomm Shikra SoC
Add support for the Qualcomm Shikra SoC to the protection domain mapper.
All Shikra SoC variants (CQM, CQS, IQS) share the same protection domain requirements: cdsp_root_pd, mpss_root_pd, mpss_wlan_pd.
---
Add support for the Qualcomm Shikra SoC to the protection domain mapper.
All Shikra SoC variants (CQM, CQS, IQS) share the same protection domain requirements: cdsp_root_pd, mpss_root_pd, mpss_wlan_pd.
Changes in v2:
- Adding mpss_root_pd and cdsp_root_pd for all shikra domains. (Konrad)
- Updated cover letter and commit body for all three protection domains.
--- drivers/soc/qcom/qcom_pd_mapper.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/soc/qcom/qcom_pd_mapper.c +8 -0
@@ -498,6 +498,13 @@ static const struct qcom_pdm_domain_data *sc8280xp_domains[] = { NULL, }; +static const struct qcom_pdm_domain_data *shikra_domains[] = { + &cdsp_root_pd, + &mpss_root_pd, + &mpss_wlan_pd, +NULL , +}; +/* Unlike SDM660, SDM630/636 lack CDSP */ static const struct qcom_pdm_domain_data *sdm630_domains[] = { &adsp_audio_pd,
@@ -644,6 +651,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = { { .compatible = "qcom,sc7280", .data = sc7280_domains, }, { .compatible = "qcom,sc8180x", .data = sc8180x_domains, }, { .compatible = "qcom,sc8280xp", .data = sc8280xp_domains, }, + { .compatible = "qcom,shikra", .data = shikra_domains, }, { .compatible = "qcom,sdm630", .data = sdm630_domains, }, { .compatible = "qcom,sdm636", .data = sdm630_domains, }, { .compatible = "qcom,sda660", .data = sdm660_domains, },
---
base-commit: a39c950806213f6861d00f90729acaaa21f2d95a
change-id: 20261028-shikra_pd-568b9b35056e
Best regards,
Signature · 1 line
Anurag Pateriya <[email protected]>
Quoted 7 lines · Anurag Pateriya
Add support for the Qualcomm Shikra SoC to the protection domain mapper.
All Shikra SoC variants (CQM, CQS, IQS) share the same protection domain requirements:
cdsp_root_pd,mpss_root_pd,mpss_wlan_pd.Signed-off-by Anurag Pateriya <[email protected]>---
Konrad
Quoted 40 lines · Anurag Pateriya
Add support for the Qualcomm Shikra SoC to the protection domain mapper.
All Shikra SoC variants (CQM, CQS, IQS) share the same protection domain requirements:
cdsp_root_pd,mpss_root_pd,mpss_wlan_pd.Signed-off-by Anurag Pateriya <[email protected]>---
Add support for the Qualcomm Shikra SoC to the protection domain mapper.All Shikra SoC variants (CQM, CQS, IQS) share the same protection domain requirements:
cdsp_root_pd,mpss_root_pd,mpss_wlan_pd.Signed-off-by Anurag Pateriya <[email protected]>Changes in v2:
- Addingmpss_root_pdandcdsp_root_pdfor all shikra domains. (Konrad)
- Updated cover letter and commit body for all three protection domains.--- drivers/soc/qcom/qcom_pd_mapper.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/soc/qcom/qcom_pd_mapper.c +7
-0@@ -498,6 +498,13 @@ static const struct qcom_pdm_domain_data *sc8280xp_domains[] = { NULL, }; +static const struct qcom_pdm_domain_data *shikra_domains[] = { + &cdsp_root_pd, + &mpss_root_pd, + &mpss_wlan_pd, +NULL , +}; +/* Unlike SDM660, SDM630/636 lack CDSP */ static const struct qcom_pdm_domain_data *sdm630_domains[] = { &adsp_audio_pd,
drivers/soc/qcom/qcom_pd_mapper.c static const struct of_device_id qcom_pdm_domains[] __maybe_unused = { · line 654
Quoted 4 lines
drivers/soc/qcom/qcom_pd_mapper.c +1
-0@@ -644,6 +651,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = { { .compatible = "qcom,sc7280", .data = sc7280_domains, }, { .compatible = "qcom,sc8180x", .data = sc8180x_domains, }, { .compatible = "qcom,sc8280xp", .data = sc8280xp_domains, }, + { .compatible = "qcom,shikra", .data = shikra_domains, },
Shouldn't this be alphabetically sorted?
Quoted 8 lines
drivers/soc/qcom/qcom_pd_mapper.c +0
-1{ .compatible = "qcom,sdm630", .data = sdm630_domains, }, { .compatible = "qcom,sdm636", .data = sdm630_domains, }, { .compatible = "qcom,sda660", .data = sdm660_domains, }, ---base-commit:
a39c950806213f6861d00f90729acaaa21f2d95a
change-id: 20261028-shikra_pd-568b9b35056e
Quoted 4 lines
Best regards,
Signature · 1 line
Anurag Pateriya <[email protected]>
Looks good to me otherwise, so:
Quoted 4 lines · Anurag Pateriya
Add support for the Qualcomm Shikra SoC to the protection domain mapper.
All Shikra SoC variants (CQM, CQS, IQS) share the same protection domain requirements:
cdsp_root_pd,mpss_root_pd,mpss_wlan_pd.
Applied, thanks!
[1/1] soc: qcom: pd-mapper: Add support for the Qualcomm Shikra SoC
commit: beddcf213a08577b4ed79944055edbc2c3cde851
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>