[PATCH v2] soc: qcom: pd-mapper: Add support for Glymur and Mahua

Srinivas Kandagatla posted 1 patch 1 week, 2 days ago
drivers/soc/qcom/qcom_pd_mapper.c | 10 ++++++++++
1 file changed, 10 insertions(+)
[PATCH v2] soc: qcom: pd-mapper: Add support for Glymur and Mahua
Posted by Srinivas Kandagatla 1 week, 2 days ago
Add Protection Domains for Qualcomm Glymur and Mahua SoC which have
both ADSP and CDSP.

Adding this entry to the kernel will avoid the need for userspace to provide
this service.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
---
Changes since v1:
	- added Mahua as its identical to Glymur

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

diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
index 05e66c497691..a18cb56de579 100644
--- a/drivers/soc/qcom/qcom_pd_mapper.c
+++ b/drivers/soc/qcom/qcom_pd_mapper.c
@@ -360,6 +360,14 @@ static const struct qcom_pdm_domain_data mpss_wlan_pd = {
 	},
 };
 
+static const struct qcom_pdm_domain_data *glymur_domains[] = {
+	&adsp_audio_pd,
+	&adsp_root_pd,
+	&adsp_sensor_pd,
+	&cdsp_root_pd,
+	NULL,
+};
+
 static const struct qcom_pdm_domain_data *kaanapali_domains[] = {
 	&adsp_audio_pd,
 	&adsp_root_pd,
@@ -571,7 +579,9 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
 	{ .compatible = "qcom,apq8074", .data = NULL, },
 	{ .compatible = "qcom,apq8084", .data = NULL, },
 	{ .compatible = "qcom,apq8096", .data = msm8996_domains, },
+	{ .compatible = "qcom,glymur", .data = glymur_domains, },
 	{ .compatible = "qcom,kaanapali", .data = kaanapali_domains, },
+	{ .compatible = "qcom,mahua", .data = glymur_domains, },
 	{ .compatible = "qcom,milos", .data = sm8550_domains, },
 	{ .compatible = "qcom,msm8226", .data = NULL, },
 	{ .compatible = "qcom,msm8909", .data = NULL, },
-- 
2.47.3
Re: [PATCH v2] soc: qcom: pd-mapper: Add support for Glymur and Mahua
Posted by Bjorn Andersson 1 week, 1 day ago
On Tue, 24 Mar 2026 12:53:49 +0000, Srinivas Kandagatla wrote:
> Add Protection Domains for Qualcomm Glymur and Mahua SoC which have
> both ADSP and CDSP.
> 
> Adding this entry to the kernel will avoid the need for userspace to provide
> this service.
> 
> 
> [...]

Applied, thanks!

[1/1] soc: qcom: pd-mapper: Add support for Glymur and Mahua
      commit: 2725be96755b6f9c5a1fa41a1a675a86d9e8a019

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>
Re: [PATCH v2] soc: qcom: pd-mapper: Add support for Glymur and Mahua
Posted by Dmitry Baryshkov 1 week, 2 days ago
On Tue, Mar 24, 2026 at 12:53:49PM +0000, Srinivas Kandagatla wrote:
> Add Protection Domains for Qualcomm Glymur and Mahua SoC which have
> both ADSP and CDSP.
> 
> Adding this entry to the kernel will avoid the need for userspace to provide
> this service.
> 
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
> ---
> Changes since v1:
> 	- added Mahua as its identical to Glymur
> 
>  drivers/soc/qcom/qcom_pd_mapper.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry
Re: [PATCH v2] soc: qcom: pd-mapper: Add support for Glymur and Mahua
Posted by Konrad Dybcio 1 week, 2 days ago
On 3/24/26 1:53 PM, Srinivas Kandagatla wrote:
> Add Protection Domains for Qualcomm Glymur and Mahua SoC which have
> both ADSP and CDSP.
> 
> Adding this entry to the kernel will avoid the need for userspace to provide
> this service.
> 
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad