Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH] soc: qcom: pd-mapper: Add Kaanapali compatible
@ 2025-09-24 23:58 Jingyi Wang
  2025-09-25  2:22 ` Dmitry Baryshkov
  2025-09-25  8:54 ` Konrad Dybcio
  0 siblings, 2 replies; 4+ messages in thread
From: Jingyi Wang @ 2025-09-24 23:58 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, linux-kernel, aiqun.yu, tingwei.zhang, trilok.soni,
	yijie.yang, Prasad Kumpatla, Jingyi Wang

From: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>

Add support for the Qualcomm Kaanapali SoC to the protection
domain mapper. Kaanapali shares the same protection domain
configuration as SM8550, so reuse the existing SM8550 domain data.

Signed-off-by: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
---
 drivers/soc/qcom/qcom_pd_mapper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
index 6384f271953d..bb2eeb955106 100644
--- a/drivers/soc/qcom/qcom_pd_mapper.c
+++ b/drivers/soc/qcom/qcom_pd_mapper.c
@@ -552,6 +552,7 @@ 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,kaanapali", .data = sm8550_domains, },
 	{ .compatible = "qcom,msm8226", .data = NULL, },
 	{ .compatible = "qcom,msm8909", .data = NULL, },
 	{ .compatible = "qcom,msm8916", .data = NULL, },

---
base-commit: ae2d20002576d2893ecaff25db3d7ef9190ac0b6
change-id: 20250922-knp-pdmapper-7b1c3acf74d2

Best regards,
-- 
Jingyi Wang <jingyi.wang@oss.qualcomm.com>


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

* Re: [PATCH] soc: qcom: pd-mapper: Add Kaanapali compatible
  2025-09-24 23:58 [PATCH] soc: qcom: pd-mapper: Add Kaanapali compatible Jingyi Wang
@ 2025-09-25  2:22 ` Dmitry Baryshkov
  2025-09-25  8:54 ` Konrad Dybcio
  1 sibling, 0 replies; 4+ messages in thread
From: Dmitry Baryshkov @ 2025-09-25  2:22 UTC (permalink / raw)
  To: Jingyi Wang
  Cc: Bjorn Andersson, Konrad Dybcio, linux-arm-msm, linux-kernel,
	aiqun.yu, tingwei.zhang, trilok.soni, yijie.yang, Prasad Kumpatla

On Wed, Sep 24, 2025 at 04:58:09PM -0700, Jingyi Wang wrote:
> From: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
> 
> Add support for the Qualcomm Kaanapali SoC to the protection
> domain mapper. Kaanapali shares the same protection domain
> configuration as SM8550, so reuse the existing SM8550 domain data.
> 
> Signed-off-by: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
> Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
> ---
>  drivers/soc/qcom/qcom_pd_mapper.c | 1 +
>  1 file changed, 1 insertion(+)

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


-- 
With best wishes
Dmitry

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

* Re: [PATCH] soc: qcom: pd-mapper: Add Kaanapali compatible
  2025-09-24 23:58 [PATCH] soc: qcom: pd-mapper: Add Kaanapali compatible Jingyi Wang
  2025-09-25  2:22 ` Dmitry Baryshkov
@ 2025-09-25  8:54 ` Konrad Dybcio
  2025-10-01 14:29   ` Prasad Kumpatla
  1 sibling, 1 reply; 4+ messages in thread
From: Konrad Dybcio @ 2025-09-25  8:54 UTC (permalink / raw)
  To: Jingyi Wang, Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, linux-kernel, aiqun.yu, tingwei.zhang, trilok.soni,
	yijie.yang, Prasad Kumpatla

On 9/25/25 1:58 AM, Jingyi Wang wrote:
> From: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
> 
> Add support for the Qualcomm Kaanapali SoC to the protection
> domain mapper. Kaanapali shares the same protection domain
> configuration as SM8550, so reuse the existing SM8550 domain data.
> 
> Signed-off-by: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
> Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
> ---
>  drivers/soc/qcom/qcom_pd_mapper.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
> index 6384f271953d..bb2eeb955106 100644
> --- a/drivers/soc/qcom/qcom_pd_mapper.c
> +++ b/drivers/soc/qcom/qcom_pd_mapper.c
> @@ -552,6 +552,7 @@ 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,kaanapali", .data = sm8550_domains, },

Doesn't e.g. 'msm/adsp/charger_pd' need adjustments with the move to
SoCCP?

Konrad

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

* Re: [PATCH] soc: qcom: pd-mapper: Add Kaanapali compatible
  2025-09-25  8:54 ` Konrad Dybcio
@ 2025-10-01 14:29   ` Prasad Kumpatla
  0 siblings, 0 replies; 4+ messages in thread
From: Prasad Kumpatla @ 2025-10-01 14:29 UTC (permalink / raw)
  To: Konrad Dybcio, Jingyi Wang, Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, linux-kernel, aiqun.yu, tingwei.zhang, trilok.soni,
	yijie.yang


On 9/25/2025 2:24 PM, Konrad Dybcio wrote:
> On 9/25/25 1:58 AM, Jingyi Wang wrote:
>> From: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
>>
>> Add support for the Qualcomm Kaanapali SoC to the protection
>> domain mapper. Kaanapali shares the same protection domain
>> configuration as SM8550, so reuse the existing SM8550 domain data.
>>
>> Signed-off-by: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
>> Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
>> ---
>>   drivers/soc/qcom/qcom_pd_mapper.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
>> index 6384f271953d..bb2eeb955106 100644
>> --- a/drivers/soc/qcom/qcom_pd_mapper.c
>> +++ b/drivers/soc/qcom/qcom_pd_mapper.c
>> @@ -552,6 +552,7 @@ 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,kaanapali", .data = sm8550_domains, },
> Doesn't e.g. 'msm/adsp/charger_pd' need adjustments with the move to
> SoCCP?

Yes, Thanks for pointing it, Will create a new domain entry for 
Kaanapali and
remove the charger_pd. Will update in next patch.

Thanks,
Prasad

>
> Konrad

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

end of thread, other threads:[~2025-10-01 14:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-24 23:58 [PATCH] soc: qcom: pd-mapper: Add Kaanapali compatible Jingyi Wang
2025-09-25  2:22 ` Dmitry Baryshkov
2025-09-25  8:54 ` Konrad Dybcio
2025-10-01 14:29   ` Prasad Kumpatla

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