Skip to content

Commit 6cb29a7

Browse files
committed
FROMLIST: soc: qcom: pd-mapper: Add support for SA8775P
Add support for the Qualcomm SA8775P SoC to the protection domain mapper. SA8775P share the same protection domain configuration as SC8280XP with an additional gpdsp domain, except for charger_pd. Add an entry to the kernel, to avoid the need for userspace to provide this service. Link: https://lore.kernel.org/all/20260209112947.930853-2-mohammad.rafi.shaik@oss.qualcomm.com/ Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
1 parent cdf31ed commit 6cb29a7

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

drivers/soc/qcom/qcom_pd_mapper.c

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,18 @@ static const struct qcom_pdm_domain_data cdsp_root_pd = {
305305
.services = { NULL },
306306
};
307307

308+
static const struct qcom_pdm_domain_data gpdsp_root_pd = {
309+
.domain = "msm/gpdsp/root_pd",
310+
.instance_id = 192,
311+
.services = { NULL },
312+
};
313+
314+
static const struct qcom_pdm_domain_data gpdsp1_root_pd = {
315+
.domain = "msm/gpdsp1/root_pd",
316+
.instance_id = 241,
317+
.services = { NULL },
318+
};
319+
308320
static const struct qcom_pdm_domain_data slpi_root_pd = {
309321
.domain = "msm/slpi/root_pd",
310322
.instance_id = 90,
@@ -402,6 +414,15 @@ static const struct qcom_pdm_domain_data *qcs615_domains[] = {
402414
NULL,
403415
};
404416

417+
static const struct qcom_pdm_domain_data *sa8775p_domains[] = {
418+
&adsp_audio_pd,
419+
&adsp_root_pd,
420+
&cdsp_root_pd,
421+
&gpdsp_root_pd,
422+
&gpdsp1_root_pd,
423+
NULL,
424+
};
425+
405426
static const struct qcom_pdm_domain_data *sc7180_domains[] = {
406427
&adsp_audio_pd,
407428
&adsp_root_pd_pdr,
@@ -573,6 +594,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
573594
{ .compatible = "qcom,qcm6490", .data = sc7280_domains, },
574595
{ .compatible = "qcom,qcs404", .data = qcs404_domains, },
575596
{ .compatible = "qcom,qcs615", .data = qcs615_domains, },
597+
{ .compatible = "qcom,sa8775p", .data = sa8775p_domains, },
576598
{ .compatible = "qcom,sc7180", .data = sc7180_domains, },
577599
{ .compatible = "qcom,sc7280", .data = sc7280_domains, },
578600
{ .compatible = "qcom,sc8180x", .data = sc8180x_domains, },

0 commit comments

Comments
 (0)