mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] soc: qcom: pd-mapper: Add support for the Qualcomm Shikra SoC
@ 2026-07-28  9:52 Anurag Pateriya
  2026-07-28 10:13 ` Konrad Dybcio
  0 siblings, 1 reply; 3+ messages in thread
From: Anurag Pateriya @ 2026-07-28  9:52 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, linux-kernel, Anurag Pateriya

Add support for the Qualcomm Shikra SoC to the protection domain mapper.

All Shikra SoC variants (CQM, CQS, IQS) share the same protection
domain requirements: mpss_wlan_pd.

Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
---
 drivers/soc/qcom/qcom_pd_mapper.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
index 64ca99d7fad9..9eb50e566659 100644
--- a/drivers/soc/qcom/qcom_pd_mapper.c
+++ b/drivers/soc/qcom/qcom_pd_mapper.c
@@ -498,6 +498,11 @@ static const struct qcom_pdm_domain_data *sc8280xp_domains[] = {
 	NULL,
 };
 
+static const struct qcom_pdm_domain_data *shikra_domains[] = {
+	&mpss_wlan_pd,
+	NULL,
+};
+
 /* Unlike SDM660, SDM630/636 lack CDSP */
 static const struct qcom_pdm_domain_data *sdm630_domains[] = {
 	&adsp_audio_pd,
@@ -644,6 +649,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
 	{ .compatible = "qcom,sc7280", .data = sc7280_domains, },
 	{ .compatible = "qcom,sc8180x", .data = sc8180x_domains, },
 	{ .compatible = "qcom,sc8280xp", .data = sc8280xp_domains, },
+	{ .compatible = "qcom,shikra", .data = shikra_domains, },
 	{ .compatible = "qcom,sdm630", .data = sdm630_domains, },
 	{ .compatible = "qcom,sdm636", .data = sdm630_domains, },
 	{ .compatible = "qcom,sda660", .data = sdm660_domains, },

---
base-commit: 138cfcd84a8943897bdb2ad1fff9ca47672baa3c
change-id: 20260715-shikra_pd_mapper-e56c57d125fb

Best regards,
-- 
Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>


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

* Re: [PATCH] soc: qcom: pd-mapper: Add support for the Qualcomm Shikra SoC
  2026-07-28  9:52 [PATCH] soc: qcom: pd-mapper: Add support for the Qualcomm Shikra SoC Anurag Pateriya
@ 2026-07-28 10:13 ` Konrad Dybcio
  2026-10-20  7:35   ` Anurag Pateriya
  0 siblings, 1 reply; 3+ messages in thread
From: Konrad Dybcio @ 2026-07-28 10:13 UTC (permalink / raw)
  To: Anurag Pateriya, Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, linux-kernel

On 7/28/26 11:52 AM, Anurag Pateriya wrote:
> Add support for the Qualcomm Shikra SoC to the protection domain mapper.
> 
> All Shikra SoC variants (CQM, CQS, IQS) share the same protection
> domain requirements: mpss_wlan_pd.
> 
> Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
> ---

I understand the audio domains are lacking since there is no more
ADSP, but mpss_wlan_pd? cdsp_root_pd?

Konrad

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

* Re: [PATCH] soc: qcom: pd-mapper: Add support for the Qualcomm Shikra SoC
  2026-07-28 10:13 ` Konrad Dybcio
@ 2026-10-20  7:35   ` Anurag Pateriya
  0 siblings, 0 replies; 3+ messages in thread
From: Anurag Pateriya @ 2026-10-20  7:35 UTC (permalink / raw)
  To: Konrad Dybcio, Bjorn Andersson, Konrad Dybcio; +Cc: linux-arm-msm, linux-kernel

On 7/28/2026 3:43 PM, Konrad Dybcio wrote:
> On 7/28/26 11:52 AM, Anurag Pateriya wrote:
>> Add support for the Qualcomm Shikra SoC to the protection domain mapper.
>>
>> All Shikra SoC variants (CQM, CQS, IQS) share the same protection
>> domain requirements: mpss_wlan_pd.
>>
>> Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
>> ---
> 
> I understand the audio domains are lacking since there is no more
> ADSP, but mpss_wlan_pd? cdsp_root_pd?
> 
> Konrad

Yes. I need to add cdsp_root_pd and mpss_root_pd
I will add it in v2.

For mpss, I already added mpss_wlan_pd. Mpss_root_pd share the same 
instance_id = 180 but register distinct domain paths (msm/modem/wlan_pd 
vs msm/modem/root_pd).

Clients subscribing to msm/modem/root_pd restart notifications require 
an explicit entry.

I will add mpss_root_pd to ensure complete coverage, consistent with 
other SoCs.


Thanks,
Anurag


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

end of thread, other threads:[~2026-10-20  7:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-28  9:52 [PATCH] soc: qcom: pd-mapper: Add support for the Qualcomm Shikra SoC Anurag Pateriya
2026-07-28 10:13 ` Konrad Dybcio
2026-10-20  7:35   ` Anurag Pateriya

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®