All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] soc: qcom: pd-mapper: Add support for Hawi SoC
@ 2026-05-06 11:02 Mukesh Ojha
  2026-05-13 19:08 ` Bjorn Andersson
  2026-06-12 22:15 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Mukesh Ojha @ 2026-05-06 11:02 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio; +Cc: linux-arm-msm, linux-kernel, Mukesh Ojha

Hawi uses the same protection domain layout as Kaanapali, so reuse the
kaanapali_domains table. Also add the missing adsp_ois_pd entry (OIS
protection domain, instance_id 74) to kaanapali_domains, which is
required by both Kaanapali and Hawi.

Signed-off-by: Mukesh Ojha <mukesh.ojha@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 7bb14c20ab5d..b99718e25f2f 100644
--- a/drivers/soc/qcom/qcom_pd_mapper.c
+++ b/drivers/soc/qcom/qcom_pd_mapper.c
@@ -266,6 +266,12 @@ static const struct qcom_pdm_domain_data adsp_charger_pd = {
 	.services = { NULL },
 };
 
+static const struct qcom_pdm_domain_data adsp_ois_pd = {
+	.domain = "msm/adsp/ois_pd",
+	.instance_id = 74,
+	.services = { NULL, },
+};
+
 static const struct qcom_pdm_domain_data adsp_root_pd = {
 	.domain = "msm/adsp/root_pd",
 	.instance_id = 74,
@@ -370,6 +376,7 @@ static const struct qcom_pdm_domain_data *glymur_domains[] = {
 
 static const struct qcom_pdm_domain_data *kaanapali_domains[] = {
 	&adsp_audio_pd,
+	&adsp_ois_pd,
 	&adsp_root_pd,
 	&adsp_sensor_pd,
 	&cdsp_root_pd,
@@ -581,6 +588,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
 	{ .compatible = "qcom,eliza", .data = sm8550_domains, },
 	{ .compatible = "qcom,apq8096", .data = msm8996_domains, },
 	{ .compatible = "qcom,glymur", .data = glymur_domains, },
+	{ .compatible = "qcom,hawi", .data = kaanapali_domains, },
 	{ .compatible = "qcom,kaanapali", .data = kaanapali_domains, },
 	{ .compatible = "qcom,mahua", .data = glymur_domains, },
 	{ .compatible = "qcom,milos", .data = sm8550_domains, },
-- 
2.53.0


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

* Re: [PATCH] soc: qcom: pd-mapper: Add support for Hawi SoC
  2026-05-06 11:02 [PATCH] soc: qcom: pd-mapper: Add support for Hawi SoC Mukesh Ojha
@ 2026-05-13 19:08 ` Bjorn Andersson
  2026-06-12 22:15 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2026-05-13 19:08 UTC (permalink / raw)
  To: Konrad Dybcio, Mukesh Ojha; +Cc: linux-arm-msm, linux-kernel


On Wed, 06 May 2026 16:32:26 +0530, Mukesh Ojha wrote:
> Hawi uses the same protection domain layout as Kaanapali, so reuse the
> kaanapali_domains table. Also add the missing adsp_ois_pd entry (OIS
> protection domain, instance_id 74) to kaanapali_domains, which is
> required by both Kaanapali and Hawi.
> 
> 

Applied, thanks!

[1/1] soc: qcom: pd-mapper: Add support for Hawi SoC
      commit: b758be0232407c760e46466625a7ed6e32c78978

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

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

* Re: [PATCH] soc: qcom: pd-mapper: Add support for Hawi SoC
  2026-05-06 11:02 [PATCH] soc: qcom: pd-mapper: Add support for Hawi SoC Mukesh Ojha
  2026-05-13 19:08 ` Bjorn Andersson
@ 2026-06-12 22:15 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2026-06-12 22:15 UTC (permalink / raw)
  To: Mukesh Ojha; +Cc: Bjorn Andersson, Konrad Dybcio, linux-arm-msm, linux-kernel

On Wed, May 06, 2026 at 04:32:26PM +0530, Mukesh Ojha wrote:
> Hawi uses the same protection domain layout as Kaanapali, so reuse the
> kaanapali_domains table. Also add the missing adsp_ois_pd entry (OIS
> protection domain, instance_id 74) to kaanapali_domains, which is
> required by both Kaanapali and Hawi.
> 
> Signed-off-by: Mukesh Ojha <mukesh.ojha@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 7bb14c20ab5d..b99718e25f2f 100644
> --- a/drivers/soc/qcom/qcom_pd_mapper.c
> +++ b/drivers/soc/qcom/qcom_pd_mapper.c
> @@ -266,6 +266,12 @@ static const struct qcom_pdm_domain_data adsp_charger_pd = {
>  	.services = { NULL },
>  };
>  
> +static const struct qcom_pdm_domain_data adsp_ois_pd = {
> +	.domain = "msm/adsp/ois_pd",
> +	.instance_id = 74,
> +	.services = { NULL, },
> +};
> +
>  static const struct qcom_pdm_domain_data adsp_root_pd = {
>  	.domain = "msm/adsp/root_pd",
>  	.instance_id = 74,
> @@ -370,6 +376,7 @@ static const struct qcom_pdm_domain_data *glymur_domains[] = {
>  
>  static const struct qcom_pdm_domain_data *kaanapali_domains[] = {
>  	&adsp_audio_pd,
> +	&adsp_ois_pd,
>  	&adsp_root_pd,
>  	&adsp_sensor_pd,
>  	&cdsp_root_pd,
> @@ -581,6 +588,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
>  	{ .compatible = "qcom,eliza", .data = sm8550_domains, },
>  	{ .compatible = "qcom,apq8096", .data = msm8996_domains, },
>  	{ .compatible = "qcom,glymur", .data = glymur_domains, },
> +	{ .compatible = "qcom,hawi", .data = kaanapali_domains, },

This is not documented. I couldn't find any patch adding it. Please 
submit one.

Rob

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

end of thread, other threads:[~2026-06-12 22:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 11:02 [PATCH] soc: qcom: pd-mapper: Add support for Hawi SoC Mukesh Ojha
2026-05-13 19:08 ` Bjorn Andersson
2026-06-12 22:15 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.