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.

Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260608084139.1468000-2-mohammad.rafi.shaik@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Mohammad Rafi Shaik
2026-06-08 14:11:38 +05:30
committed by Bjorn Andersson
parent 3467fec532
commit 63fba7528f

View File

@@ -311,6 +311,24 @@ static const struct qcom_pdm_domain_data cdsp_root_pd = {
.services = { NULL },
};
static const struct qcom_pdm_domain_data cdsp1_root_pd = {
.domain = "msm/cdsp1/root_pd",
.instance_id = 125,
.services = { NULL },
};
static const struct qcom_pdm_domain_data gpdsp_root_pd = {
.domain = "msm/gpdsp/root_pd",
.instance_id = 192,
.services = { NULL },
};
static const struct qcom_pdm_domain_data gpdsp1_root_pd = {
.domain = "msm/gpdsp1/root_pd",
.instance_id = 241,
.services = { NULL },
};
static const struct qcom_pdm_domain_data slpi_root_pd = {
.domain = "msm/slpi/root_pd",
.instance_id = 90,
@@ -426,6 +444,16 @@ static const struct qcom_pdm_domain_data *qcs615_domains[] = {
NULL,
};
static const struct qcom_pdm_domain_data *sa8775p_domains[] = {
&adsp_audio_pd,
&adsp_root_pd,
&cdsp_root_pd,
&cdsp1_root_pd,
&gpdsp_root_pd,
&gpdsp1_root_pd,
NULL,
};
static const struct qcom_pdm_domain_data *sc7180_domains[] = {
&adsp_audio_pd,
&adsp_root_pd_pdr,
@@ -603,6 +631,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
{ .compatible = "qcom,qcm6490", .data = sc7280_domains, },
{ .compatible = "qcom,qcs404", .data = qcs404_domains, },
{ .compatible = "qcom,qcs615", .data = qcs615_domains, },
{ .compatible = "qcom,sa8775p", .data = sa8775p_domains, },
{ .compatible = "qcom,sc7180", .data = sc7180_domains, },
{ .compatible = "qcom,sc7280", .data = sc7280_domains, },
{ .compatible = "qcom,sc8180x", .data = sc8180x_domains, },