mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] soc: qcom: pd-mapper: Add support for SA8775P and QCS8300
@ 2026-02-09 11:29 Mohammad Rafi Shaik
  2026-02-09 11:29 ` [PATCH v3 1/2] soc: qcom: pd-mapper: Add support for SA8775P Mohammad Rafi Shaik
  2026-02-09 11:29 ` [PATCH v3 2/2] soc: qcom: pd-mapper: Add support for QCS8300 Mohammad Rafi Shaik
  0 siblings, 2 replies; 10+ messages in thread
From: Mohammad Rafi Shaik @ 2026-02-09 11:29 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio; +Cc: linux-arm-msm, linux-kernel

Add support for the Qualcomm SA8775P and QCS8300 SoCs to the
protection domain mapper. Add an entry to the kernel, to avoid
the need for userspace to provide this service.

changes in [v3]:
 - Added a separate protection domain from QCS8300 as suggested by Dmitry.
 - Link to V2: https://lore.kernel.org/all/20260127144315.4125110-1-mohammad.rafi.shaik@oss.qualcomm.com/

changes in [v2]:
 - Added missing GPDSP protection domain configuration as suggested by Dmitry.
 - Link to V1: https://lore.kernel.org/all/20251230102508.1491296-1-mohammad.rafi.shaik@oss.qualcomm.com/

Mohammad Rafi Shaik (2):
  soc: qcom: pd-mapper: Add support for SA8775P
  soc: qcom: pd-mapper: Add support for QCS8300

 drivers/soc/qcom/qcom_pd_mapper.c | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)


base-commit: 9845cf73f7db6094c0d8419d6adb848028f4a921
-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v3 1/2] soc: qcom: pd-mapper: Add support for SA8775P
  2026-02-09 11:29 [PATCH v3 0/2] soc: qcom: pd-mapper: Add support for SA8775P and QCS8300 Mohammad Rafi Shaik
@ 2026-02-09 11:29 ` Mohammad Rafi Shaik
  2026-02-09 12:40   ` Dmitry Baryshkov
  2026-02-09 11:29 ` [PATCH v3 2/2] soc: qcom: pd-mapper: Add support for QCS8300 Mohammad Rafi Shaik
  1 sibling, 1 reply; 10+ messages in thread
From: Mohammad Rafi Shaik @ 2026-02-09 11:29 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio; +Cc: linux-arm-msm, linux-kernel

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>
---
 drivers/soc/qcom/qcom_pd_mapper.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
index 1bcbe6968..8b899ec7f 100644
--- a/drivers/soc/qcom/qcom_pd_mapper.c
+++ b/drivers/soc/qcom/qcom_pd_mapper.c
@@ -305,6 +305,18 @@ static const struct qcom_pdm_domain_data cdsp_root_pd = {
 	.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,
@@ -401,6 +413,15 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
 	NULL,
 };
 
+static const struct qcom_pdm_domain_data *sa8775p_domains[] = {
+	&adsp_audio_pd,
+	&adsp_root_pd,
+	&cdsp_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,
@@ -572,6 +593,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
 	{ .compatible = "qcom,qcm2290", .data = qcm2290_domains, },
 	{ .compatible = "qcom,qcm6490", .data = sc7280_domains, },
 	{ .compatible = "qcom,qcs404", .data = qcs404_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, },
-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v3 2/2] soc: qcom: pd-mapper: Add support for QCS8300
  2026-02-09 11:29 [PATCH v3 0/2] soc: qcom: pd-mapper: Add support for SA8775P and QCS8300 Mohammad Rafi Shaik
  2026-02-09 11:29 ` [PATCH v3 1/2] soc: qcom: pd-mapper: Add support for SA8775P Mohammad Rafi Shaik
@ 2026-02-09 11:29 ` Mohammad Rafi Shaik
  2026-02-09 12:41   ` Dmitry Baryshkov
  1 sibling, 1 reply; 10+ messages in thread
From: Mohammad Rafi Shaik @ 2026-02-09 11:29 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio; +Cc: linux-arm-msm, linux-kernel

Add support for the Qualcomm QCS8300 SoC to the protection
domain mapper. QCS8300 share the same protection domain
configuration as SC8280XP, except 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>
---
 drivers/soc/qcom/qcom_pd_mapper.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
index 8b899ec7f..32538e659 100644
--- a/drivers/soc/qcom/qcom_pd_mapper.c
+++ b/drivers/soc/qcom/qcom_pd_mapper.c
@@ -413,6 +413,13 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
 	NULL,
 };
 
+static const struct qcom_pdm_domain_data *qcs8300_domains[] = {
+	&adsp_audio_pd,
+	&adsp_root_pd,
+	&cdsp_root_pd,
+	NULL,
+};
+
 static const struct qcom_pdm_domain_data *sa8775p_domains[] = {
 	&adsp_audio_pd,
 	&adsp_root_pd,
@@ -593,6 +600,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
 	{ .compatible = "qcom,qcm2290", .data = qcm2290_domains, },
 	{ .compatible = "qcom,qcm6490", .data = sc7280_domains, },
 	{ .compatible = "qcom,qcs404", .data = qcs404_domains, },
+	{ .compatible = "qcom,qcs8300", .data = qcs8300_domains, },
 	{ .compatible = "qcom,sa8775p", .data = sa8775p_domains, },
 	{ .compatible = "qcom,sc7180", .data = sc7180_domains, },
 	{ .compatible = "qcom,sc7280", .data = sc7280_domains, },
-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 1/2] soc: qcom: pd-mapper: Add support for SA8775P
  2026-02-09 11:29 ` [PATCH v3 1/2] soc: qcom: pd-mapper: Add support for SA8775P Mohammad Rafi Shaik
@ 2026-02-09 12:40   ` Dmitry Baryshkov
  2026-02-09 13:39     ` Mohammad Rafi Shaik
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Baryshkov @ 2026-02-09 12:40 UTC (permalink / raw)
  To: Mohammad Rafi Shaik
  Cc: Bjorn Andersson, Konrad Dybcio, linux-arm-msm, linux-kernel

On Mon, Feb 09, 2026 at 04:59:46PM +0530, Mohammad Rafi Shaik wrote:
> 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>
> ---
>  drivers/soc/qcom/qcom_pd_mapper.c | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
> index 1bcbe6968..8b899ec7f 100644
> --- a/drivers/soc/qcom/qcom_pd_mapper.c
> +++ b/drivers/soc/qcom/qcom_pd_mapper.c
> @@ -305,6 +305,18 @@ static const struct qcom_pdm_domain_data cdsp_root_pd = {
>  	.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,
> @@ -401,6 +413,15 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
>  	NULL,
>  };
>  
> +static const struct qcom_pdm_domain_data *sa8775p_domains[] = {
> +	&adsp_audio_pd,
> +	&adsp_root_pd,
> +	&cdsp_root_pd,

Is there no separate PD for CDSP1? What is the difference between CDSP
and CDSP1?

> +	&gpdsp_root_pd,
> +	&gpdsp1_root_pd,
> +	NULL,
> +};
> +
>  static const struct qcom_pdm_domain_data *sc7180_domains[] = {
>  	&adsp_audio_pd,
>  	&adsp_root_pd_pdr,
> @@ -572,6 +593,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
>  	{ .compatible = "qcom,qcm2290", .data = qcm2290_domains, },
>  	{ .compatible = "qcom,qcm6490", .data = sc7280_domains, },
>  	{ .compatible = "qcom,qcs404", .data = qcs404_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, },
> -- 
> 2.34.1
> 

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 2/2] soc: qcom: pd-mapper: Add support for QCS8300
  2026-02-09 11:29 ` [PATCH v3 2/2] soc: qcom: pd-mapper: Add support for QCS8300 Mohammad Rafi Shaik
@ 2026-02-09 12:41   ` Dmitry Baryshkov
  2026-02-09 13:19     ` Mohammad Rafi Shaik
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Baryshkov @ 2026-02-09 12:41 UTC (permalink / raw)
  To: Mohammad Rafi Shaik
  Cc: Bjorn Andersson, Konrad Dybcio, linux-arm-msm, linux-kernel

On Mon, Feb 09, 2026 at 04:59:47PM +0530, Mohammad Rafi Shaik wrote:
> Add support for the Qualcomm QCS8300 SoC to the protection
> domain mapper. QCS8300 share the same protection domain
> configuration as SC8280XP, except 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>
> ---
>  drivers/soc/qcom/qcom_pd_mapper.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
> index 8b899ec7f..32538e659 100644
> --- a/drivers/soc/qcom/qcom_pd_mapper.c
> +++ b/drivers/soc/qcom/qcom_pd_mapper.c
> @@ -413,6 +413,13 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
>  	NULL,
>  };
>  
> +static const struct qcom_pdm_domain_data *qcs8300_domains[] = {
> +	&adsp_audio_pd,
> +	&adsp_root_pd,
> +	&cdsp_root_pd,

No PD for GPDSP?

> +	NULL,
> +};
> +
>  static const struct qcom_pdm_domain_data *sa8775p_domains[] = {
>  	&adsp_audio_pd,
>  	&adsp_root_pd,
> @@ -593,6 +600,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
>  	{ .compatible = "qcom,qcm2290", .data = qcm2290_domains, },
>  	{ .compatible = "qcom,qcm6490", .data = sc7280_domains, },
>  	{ .compatible = "qcom,qcs404", .data = qcs404_domains, },
> +	{ .compatible = "qcom,qcs8300", .data = qcs8300_domains, },
>  	{ .compatible = "qcom,sa8775p", .data = sa8775p_domains, },
>  	{ .compatible = "qcom,sc7180", .data = sc7180_domains, },
>  	{ .compatible = "qcom,sc7280", .data = sc7280_domains, },
> -- 
> 2.34.1
> 

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 2/2] soc: qcom: pd-mapper: Add support for QCS8300
  2026-02-09 12:41   ` Dmitry Baryshkov
@ 2026-02-09 13:19     ` Mohammad Rafi Shaik
  2026-02-09 14:19       ` Dmitry Baryshkov
  0 siblings, 1 reply; 10+ messages in thread
From: Mohammad Rafi Shaik @ 2026-02-09 13:19 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, linux-arm-msm, linux-kernel



On 2/9/2026 6:11 PM, Dmitry Baryshkov wrote:
> On Mon, Feb 09, 2026 at 04:59:47PM +0530, Mohammad Rafi Shaik wrote:
>> Add support for the Qualcomm QCS8300 SoC to the protection
>> domain mapper. QCS8300 share the same protection domain
>> configuration as SC8280XP, except 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>
>> ---
>>   drivers/soc/qcom/qcom_pd_mapper.c | 8 ++++++++
>>   1 file changed, 8 insertions(+)
>>
>> diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
>> index 8b899ec7f..32538e659 100644
>> --- a/drivers/soc/qcom/qcom_pd_mapper.c
>> +++ b/drivers/soc/qcom/qcom_pd_mapper.c
>> @@ -413,6 +413,13 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
>>   	NULL,
>>   };
>>   
>> +static const struct qcom_pdm_domain_data *qcs8300_domains[] = {
>> +	&adsp_audio_pd,
>> +	&adsp_root_pd,
>> +	&cdsp_root_pd,
> 
> No PD for GPDSP?
> 

yes, There is no PD available for GPDSP in the Monaco linux‑firmware.

Thanks & Regards,
Rafi.

>> +	NULL,
>> +};
>> +
>>   static const struct qcom_pdm_domain_data *sa8775p_domains[] = {
>>   	&adsp_audio_pd,
>>   	&adsp_root_pd,
>> @@ -593,6 +600,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
>>   	{ .compatible = "qcom,qcm2290", .data = qcm2290_domains, },
>>   	{ .compatible = "qcom,qcm6490", .data = sc7280_domains, },
>>   	{ .compatible = "qcom,qcs404", .data = qcs404_domains, },
>> +	{ .compatible = "qcom,qcs8300", .data = qcs8300_domains, },
>>   	{ .compatible = "qcom,sa8775p", .data = sa8775p_domains, },
>>   	{ .compatible = "qcom,sc7180", .data = sc7180_domains, },
>>   	{ .compatible = "qcom,sc7280", .data = sc7280_domains, },
>> -- 
>> 2.34.1
>>
> 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 1/2] soc: qcom: pd-mapper: Add support for SA8775P
  2026-02-09 12:40   ` Dmitry Baryshkov
@ 2026-02-09 13:39     ` Mohammad Rafi Shaik
  2026-02-09 14:18       ` Dmitry Baryshkov
  0 siblings, 1 reply; 10+ messages in thread
From: Mohammad Rafi Shaik @ 2026-02-09 13:39 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, linux-arm-msm, linux-kernel



On 2/9/2026 6:10 PM, Dmitry Baryshkov wrote:
> On Mon, Feb 09, 2026 at 04:59:46PM +0530, Mohammad Rafi Shaik wrote:
>> 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>
>> ---
>>   drivers/soc/qcom/qcom_pd_mapper.c | 22 ++++++++++++++++++++++
>>   1 file changed, 22 insertions(+)
>>
>> diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
>> index 1bcbe6968..8b899ec7f 100644
>> --- a/drivers/soc/qcom/qcom_pd_mapper.c
>> +++ b/drivers/soc/qcom/qcom_pd_mapper.c
>> @@ -305,6 +305,18 @@ static const struct qcom_pdm_domain_data cdsp_root_pd = {
>>   	.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,
>> @@ -401,6 +413,15 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
>>   	NULL,
>>   };
>>   
>> +static const struct qcom_pdm_domain_data *sa8775p_domains[] = {
>> +	&adsp_audio_pd,
>> +	&adsp_root_pd,
>> +	&cdsp_root_pd,
> 
> Is there no separate PD for CDSP1? What is the difference between CDSP
> and CDSP1?
> 

Yes, there is no dedicated PD entry for CDSP1 in the linux‑firmware,

In the device tree, there is no functional change in CDSP, only the base 
address is different.

Thanks & Regards,
Rafi.

>> +	&gpdsp_root_pd,
>> +	&gpdsp1_root_pd,
>> +	NULL,
>> +};
>> +
>>   static const struct qcom_pdm_domain_data *sc7180_domains[] = {
>>   	&adsp_audio_pd,
>>   	&adsp_root_pd_pdr,
>> @@ -572,6 +593,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
>>   	{ .compatible = "qcom,qcm2290", .data = qcm2290_domains, },
>>   	{ .compatible = "qcom,qcm6490", .data = sc7280_domains, },
>>   	{ .compatible = "qcom,qcs404", .data = qcs404_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, },
>> -- 
>> 2.34.1
>>
> 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 1/2] soc: qcom: pd-mapper: Add support for SA8775P
  2026-02-09 13:39     ` Mohammad Rafi Shaik
@ 2026-02-09 14:18       ` Dmitry Baryshkov
  2026-02-10  6:13         ` Mohammad Rafi Shaik
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Baryshkov @ 2026-02-09 14:18 UTC (permalink / raw)
  To: Mohammad Rafi Shaik
  Cc: Bjorn Andersson, Konrad Dybcio, linux-arm-msm, linux-kernel

On Mon, Feb 09, 2026 at 07:09:06PM +0530, Mohammad Rafi Shaik wrote:
> 
> 
> On 2/9/2026 6:10 PM, Dmitry Baryshkov wrote:
> > On Mon, Feb 09, 2026 at 04:59:46PM +0530, Mohammad Rafi Shaik wrote:
> > > 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>
> > > ---
> > >   drivers/soc/qcom/qcom_pd_mapper.c | 22 ++++++++++++++++++++++
> > >   1 file changed, 22 insertions(+)
> > > 
> > > diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
> > > index 1bcbe6968..8b899ec7f 100644
> > > --- a/drivers/soc/qcom/qcom_pd_mapper.c
> > > +++ b/drivers/soc/qcom/qcom_pd_mapper.c
> > > @@ -305,6 +305,18 @@ static const struct qcom_pdm_domain_data cdsp_root_pd = {
> > >   	.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,
> > > @@ -401,6 +413,15 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
> > >   	NULL,
> > >   };
> > > +static const struct qcom_pdm_domain_data *sa8775p_domains[] = {
> > > +	&adsp_audio_pd,
> > > +	&adsp_root_pd,
> > > +	&cdsp_root_pd,
> > 
> > Is there no separate PD for CDSP1? What is the difference between CDSP
> > and CDSP1?
> > 
> 
> Yes, there is no dedicated PD entry for CDSP1 in the linux‑firmware,
> 
> In the device tree, there is no functional change in CDSP, only the base
> address is different.

So, you can ask this question internally.

> 
> Thanks & Regards,
> Rafi.
> 
> > > +	&gpdsp_root_pd,
> > > +	&gpdsp1_root_pd,
> > > +	NULL,
> > > +};
> > > +
> > >   static const struct qcom_pdm_domain_data *sc7180_domains[] = {
> > >   	&adsp_audio_pd,
> > >   	&adsp_root_pd_pdr,
> > > @@ -572,6 +593,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
> > >   	{ .compatible = "qcom,qcm2290", .data = qcm2290_domains, },
> > >   	{ .compatible = "qcom,qcm6490", .data = sc7280_domains, },
> > >   	{ .compatible = "qcom,qcs404", .data = qcs404_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, },
> > > -- 
> > > 2.34.1
> > > 
> > 
> 

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 2/2] soc: qcom: pd-mapper: Add support for QCS8300
  2026-02-09 13:19     ` Mohammad Rafi Shaik
@ 2026-02-09 14:19       ` Dmitry Baryshkov
  0 siblings, 0 replies; 10+ messages in thread
From: Dmitry Baryshkov @ 2026-02-09 14:19 UTC (permalink / raw)
  To: Mohammad Rafi Shaik
  Cc: Bjorn Andersson, Konrad Dybcio, linux-arm-msm, linux-kernel

On Mon, Feb 09, 2026 at 06:49:26PM +0530, Mohammad Rafi Shaik wrote:
> 
> 
> On 2/9/2026 6:11 PM, Dmitry Baryshkov wrote:
> > On Mon, Feb 09, 2026 at 04:59:47PM +0530, Mohammad Rafi Shaik wrote:
> > > Add support for the Qualcomm QCS8300 SoC to the protection
> > > domain mapper. QCS8300 share the same protection domain
> > > configuration as SC8280XP, except 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>
> > > ---
> > >   drivers/soc/qcom/qcom_pd_mapper.c | 8 ++++++++
> > >   1 file changed, 8 insertions(+)
> > > 
> > > diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
> > > index 8b899ec7f..32538e659 100644
> > > --- a/drivers/soc/qcom/qcom_pd_mapper.c
> > > +++ b/drivers/soc/qcom/qcom_pd_mapper.c
> > > @@ -413,6 +413,13 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
> > >   	NULL,
> > >   };
> > > +static const struct qcom_pdm_domain_data *qcs8300_domains[] = {
> > > +	&adsp_audio_pd,
> > > +	&adsp_root_pd,
> > > +	&cdsp_root_pd,
> > 
> > No PD for GPDSP?
> > 
> 
> yes, There is no PD available for GPDSP in the Monaco linux‑firmware.

Why? What is the differece from GPDSP on Lemans?

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 1/2] soc: qcom: pd-mapper: Add support for SA8775P
  2026-02-09 14:18       ` Dmitry Baryshkov
@ 2026-02-10  6:13         ` Mohammad Rafi Shaik
  0 siblings, 0 replies; 10+ messages in thread
From: Mohammad Rafi Shaik @ 2026-02-10  6:13 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, linux-arm-msm, linux-kernel



On 2/9/2026 7:48 PM, Dmitry Baryshkov wrote:
> On Mon, Feb 09, 2026 at 07:09:06PM +0530, Mohammad Rafi Shaik wrote:
>>
>>
>> On 2/9/2026 6:10 PM, Dmitry Baryshkov wrote:
>>> On Mon, Feb 09, 2026 at 04:59:46PM +0530, Mohammad Rafi Shaik wrote:
>>>> 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>
>>>> ---
>>>>    drivers/soc/qcom/qcom_pd_mapper.c | 22 ++++++++++++++++++++++
>>>>    1 file changed, 22 insertions(+)
>>>>
>>>> diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
>>>> index 1bcbe6968..8b899ec7f 100644
>>>> --- a/drivers/soc/qcom/qcom_pd_mapper.c
>>>> +++ b/drivers/soc/qcom/qcom_pd_mapper.c
>>>> @@ -305,6 +305,18 @@ static const struct qcom_pdm_domain_data cdsp_root_pd = {
>>>>    	.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,
>>>> @@ -401,6 +413,15 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = {
>>>>    	NULL,
>>>>    };
>>>> +static const struct qcom_pdm_domain_data *sa8775p_domains[] = {
>>>> +	&adsp_audio_pd,
>>>> +	&adsp_root_pd,
>>>> +	&cdsp_root_pd,
>>>
>>> Is there no separate PD for CDSP1? What is the difference between CDSP
>>> and CDSP1?
>>>
>>
>> Yes, there is no dedicated PD entry for CDSP1 in the linux‑firmware,
>>
>> In the device tree, there is no functional change in CDSP, only the base
>> address is different.
> 
> So, you can ask this question internally.
> 

ACK,

Sure, will check and get back.

Thanks,
Rafi.

>>
>> Thanks & Regards,
>> Rafi.
>>
>>>> +	&gpdsp_root_pd,
>>>> +	&gpdsp1_root_pd,
>>>> +	NULL,
>>>> +};
>>>> +
>>>>    static const struct qcom_pdm_domain_data *sc7180_domains[] = {
>>>>    	&adsp_audio_pd,
>>>>    	&adsp_root_pd_pdr,
>>>> @@ -572,6 +593,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
>>>>    	{ .compatible = "qcom,qcm2290", .data = qcm2290_domains, },
>>>>    	{ .compatible = "qcom,qcm6490", .data = sc7280_domains, },
>>>>    	{ .compatible = "qcom,qcs404", .data = qcs404_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, },
>>>> -- 
>>>> 2.34.1
>>>>
>>>
>>
> 


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-02-10  6:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-09 11:29 [PATCH v3 0/2] soc: qcom: pd-mapper: Add support for SA8775P and QCS8300 Mohammad Rafi Shaik
2026-02-09 11:29 ` [PATCH v3 1/2] soc: qcom: pd-mapper: Add support for SA8775P Mohammad Rafi Shaik
2026-02-09 12:40   ` Dmitry Baryshkov
2026-02-09 13:39     ` Mohammad Rafi Shaik
2026-02-09 14:18       ` Dmitry Baryshkov
2026-02-10  6:13         ` Mohammad Rafi Shaik
2026-02-09 11:29 ` [PATCH v3 2/2] soc: qcom: pd-mapper: Add support for QCS8300 Mohammad Rafi Shaik
2026-02-09 12:41   ` Dmitry Baryshkov
2026-02-09 13:19     ` Mohammad Rafi Shaik
2026-02-09 14:19       ` Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®