Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add compatible strings for RPM and mailbox devices for Shikra
@ 2026-05-08  7:19 Sneh Mankad
  2026-05-08  7:19 ` [PATCH v2 1/4] dt-bindings: soc: qcom: smd-rpm: Add Shikra rpm-smd compatible Sneh Mankad
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Sneh Mankad @ 2026-05-08  7:19 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Andy Gross, Mathieu Poirier, Stephan Gerhold,
	Jassi Brar
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-remoteproc,
	Sneh Mankad, Komal Bajaj, Vishnu Santhosh

Add support for RPM processor, rpm-smd device and APCS IPC device
for Shikra by adding appropriate compatibles.
Also add APCS IPC driver support for Shikra.

Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
---
Changes in v2:
- Require "qcom,shikra-apss-shared" to use "qcom,sdm845-apss-shared" as fallback.
- Link to v1: https://lore.kernel.org/r/20260430-shikra_mailbox_and_rpm_changes-v1-0-61ad7c57ef27@oss.qualcomm.com

---
Komal Bajaj (3):
      dt-bindings: soc: qcom: smd-rpm: Add Shikra rpm-smd compatible
      dt-bindings: remoteproc: Add Shikra RPM processor compatible
      dt-bindings: mailbox: qcom: Add Shikra APCS compatible

Vishnu Santhosh (1):
      mailbox: qcom-apcs-ipc: Add Shikra APCS IPC support

 Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml | 1 +
 Documentation/devicetree/bindings/remoteproc/qcom,rpm-proc.yaml      | 1 +
 Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml         | 1 +
 drivers/mailbox/qcom-apcs-ipc-mailbox.c                              | 1 +
 4 files changed, 4 insertions(+)
---
base-commit: e75a43c7cec459a07d91ed17de4de13ede2b7758
change-id: 20260430-shikra_mailbox_and_rpm_changes-2de7fe8e964f

Best regards,
-- 
Sneh Mankad <sneh.mankad@oss.qualcomm.com>


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

* [PATCH v2 1/4] dt-bindings: soc: qcom: smd-rpm: Add Shikra rpm-smd compatible
  2026-05-08  7:19 [PATCH v2 0/4] Add compatible strings for RPM and mailbox devices for Shikra Sneh Mankad
@ 2026-05-08  7:19 ` Sneh Mankad
  2026-05-08  7:19 ` [PATCH v2 2/4] dt-bindings: remoteproc: Add Shikra RPM processor compatible Sneh Mankad
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Sneh Mankad @ 2026-05-08  7:19 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Andy Gross, Mathieu Poirier, Stephan Gerhold,
	Jassi Brar
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-remoteproc,
	Sneh Mankad, Komal Bajaj

From: Komal Bajaj <komal.bajaj@oss.qualcomm.com>

Add compatible for the Qualcomm Shikra rpm-smd device.

Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
index 270bcd079f8861d6bf9f3058e188895af33370e1..bd1d32898461c48ebbdee8d6c48046a08e39cb0d 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
@@ -57,6 +57,7 @@ properties:
               - qcom,rpm-qcm2290
               - qcom,rpm-qcs404
               - qcom,rpm-sdm660
+              - qcom,rpm-shikra
               - qcom,rpm-sm6115
               - qcom,rpm-sm6125
               - qcom,rpm-sm6375

-- 
2.34.1


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

* [PATCH v2 2/4] dt-bindings: remoteproc: Add Shikra RPM processor compatible
  2026-05-08  7:19 [PATCH v2 0/4] Add compatible strings for RPM and mailbox devices for Shikra Sneh Mankad
  2026-05-08  7:19 ` [PATCH v2 1/4] dt-bindings: soc: qcom: smd-rpm: Add Shikra rpm-smd compatible Sneh Mankad
@ 2026-05-08  7:19 ` Sneh Mankad
  2026-05-08  7:19 ` [PATCH v2 3/4] dt-bindings: mailbox: qcom: Add Shikra APCS compatible Sneh Mankad
  2026-05-08  7:19 ` [PATCH v2 4/4] mailbox: qcom-apcs-ipc: Add Shikra APCS IPC support Sneh Mankad
  3 siblings, 0 replies; 8+ messages in thread
From: Sneh Mankad @ 2026-05-08  7:19 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Andy Gross, Mathieu Poirier, Stephan Gerhold,
	Jassi Brar
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-remoteproc,
	Sneh Mankad, Komal Bajaj

From: Komal Bajaj <komal.bajaj@oss.qualcomm.com>

Add compatible for the Qualcomm Shikra RPM processor.

Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/remoteproc/qcom,rpm-proc.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,rpm-proc.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,rpm-proc.yaml
index 540bdfca53d97d9c18fefeb50fa68fe704b2008c..823304afaa98f8acd67667c6aa3e36ed743ef554 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,rpm-proc.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,rpm-proc.yaml
@@ -87,6 +87,7 @@ properties:
           - qcom,qcm2290-rpm-proc
           - qcom,qcs404-rpm-proc
           - qcom,sdm660-rpm-proc
+          - qcom,shikra-rpm-proc
           - qcom,sm6115-rpm-proc
           - qcom,sm6125-rpm-proc
           - qcom,sm6375-rpm-proc

-- 
2.34.1


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

* [PATCH v2 3/4] dt-bindings: mailbox: qcom: Add Shikra APCS compatible
  2026-05-08  7:19 [PATCH v2 0/4] Add compatible strings for RPM and mailbox devices for Shikra Sneh Mankad
  2026-05-08  7:19 ` [PATCH v2 1/4] dt-bindings: soc: qcom: smd-rpm: Add Shikra rpm-smd compatible Sneh Mankad
  2026-05-08  7:19 ` [PATCH v2 2/4] dt-bindings: remoteproc: Add Shikra RPM processor compatible Sneh Mankad
@ 2026-05-08  7:19 ` Sneh Mankad
  2026-05-08  7:19 ` [PATCH v2 4/4] mailbox: qcom-apcs-ipc: Add Shikra APCS IPC support Sneh Mankad
  3 siblings, 0 replies; 8+ messages in thread
From: Sneh Mankad @ 2026-05-08  7:19 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Andy Gross, Mathieu Poirier, Stephan Gerhold,
	Jassi Brar
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-remoteproc,
	Sneh Mankad, Komal Bajaj

From: Komal Bajaj <komal.bajaj@oss.qualcomm.com>

Add compatible for the Qualcomm Shikra APCS block.

Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
index f40dc9048327298c6e78d4327bbd5f530a013604..1b4ef0688ca79f92f579d9bf5ab2cfb2bf879392 100644
--- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
+++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
@@ -49,6 +49,7 @@ properties:
               - qcom,qcs615-apss-shared
               - qcom,sc7180-apss-shared
               - qcom,sc8180x-apss-shared
+              - qcom,shikra-apss-shared
               - qcom,sm7150-apss-shared
               - qcom,sm8150-apss-shared
           - const: qcom,sdm845-apss-shared

-- 
2.34.1


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

* [PATCH v2 4/4] mailbox: qcom-apcs-ipc: Add Shikra APCS IPC support
  2026-05-08  7:19 [PATCH v2 0/4] Add compatible strings for RPM and mailbox devices for Shikra Sneh Mankad
                   ` (2 preceding siblings ...)
  2026-05-08  7:19 ` [PATCH v2 3/4] dt-bindings: mailbox: qcom: Add Shikra APCS compatible Sneh Mankad
@ 2026-05-08  7:19 ` Sneh Mankad
  2026-05-08  9:57   ` Dmitry Baryshkov
  2026-05-08 19:02   ` sashiko-bot
  3 siblings, 2 replies; 8+ messages in thread
From: Sneh Mankad @ 2026-05-08  7:19 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Andy Gross, Mathieu Poirier, Stephan Gerhold,
	Jassi Brar
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-remoteproc,
	Sneh Mankad, Vishnu Santhosh

From: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>

Enable Shikra APCS IPC support by adding the compatible.
It reuses apps_shared_apcs_data.

Signed-off-by: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>
Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
---
 drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
index d3a8f6b4a03b368821ef9a5b24fee78037104610..25f76965921ba695e3a1bf4df47ce643916a28cb 100644
--- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c
+++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
@@ -168,6 +168,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = {
 	{ .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq6018_apcs_data },
 	{ .compatible = "qcom,sc7180-apss-shared", .data = &apps_shared_apcs_data },
 	{ .compatible = "qcom,sc8180x-apss-shared", .data = &apps_shared_apcs_data },
+	{ .compatible = "qcom,shikra-apss-shared", .data = &apps_shared_apcs_data },
 	{ .compatible = "qcom,sm8150-apss-shared", .data = &apps_shared_apcs_data },
 	{}
 };

-- 
2.34.1


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

* Re: [PATCH v2 4/4] mailbox: qcom-apcs-ipc: Add Shikra APCS IPC support
  2026-05-08  7:19 ` [PATCH v2 4/4] mailbox: qcom-apcs-ipc: Add Shikra APCS IPC support Sneh Mankad
@ 2026-05-08  9:57   ` Dmitry Baryshkov
  2026-05-11  5:35     ` Sneh Mankad
  2026-05-08 19:02   ` sashiko-bot
  1 sibling, 1 reply; 8+ messages in thread
From: Dmitry Baryshkov @ 2026-05-08  9:57 UTC (permalink / raw)
  To: Sneh Mankad
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Andy Gross, Mathieu Poirier, Stephan Gerhold,
	Jassi Brar, linux-arm-msm, devicetree, linux-kernel,
	linux-remoteproc, Vishnu Santhosh

On Fri, May 08, 2026 at 12:49:50PM +0530, Sneh Mankad wrote:
> From: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>
> 
> Enable Shikra APCS IPC support by adding the compatible.
> It reuses apps_shared_apcs_data.

With the DT bindings in place this patch is not required and useless.

> 
> Signed-off-by: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>
> Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
> ---
>  drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
> index d3a8f6b4a03b368821ef9a5b24fee78037104610..25f76965921ba695e3a1bf4df47ce643916a28cb 100644
> --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c
> +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
> @@ -168,6 +168,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = {
>  	{ .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq6018_apcs_data },
>  	{ .compatible = "qcom,sc7180-apss-shared", .data = &apps_shared_apcs_data },
>  	{ .compatible = "qcom,sc8180x-apss-shared", .data = &apps_shared_apcs_data },
> +	{ .compatible = "qcom,shikra-apss-shared", .data = &apps_shared_apcs_data },
>  	{ .compatible = "qcom,sm8150-apss-shared", .data = &apps_shared_apcs_data },
>  	{}
>  };
> 
> -- 
> 2.34.1
> 

-- 
With best wishes
Dmitry

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

* Re: [PATCH v2 4/4] mailbox: qcom-apcs-ipc: Add Shikra APCS IPC support
  2026-05-08  7:19 ` [PATCH v2 4/4] mailbox: qcom-apcs-ipc: Add Shikra APCS IPC support Sneh Mankad
  2026-05-08  9:57   ` Dmitry Baryshkov
@ 2026-05-08 19:02   ` sashiko-bot
  1 sibling, 0 replies; 8+ messages in thread
From: sashiko-bot @ 2026-05-08 19:02 UTC (permalink / raw)
  To: Sneh Mankad; +Cc: conor+dt, devicetree, krzk+dt, robh

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The patch adds a new compatible string `qcom,shikra-apss-shared` that reuses existing driver data (`apps_shared_apcs_data`), directly violating an explicit maintainer directive in the code.
--

commit 6670ebc79f6a6772d5ca45315526be52e226e375
Author: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>

mailbox: qcom-apcs-ipc: Add Shikra APCS IPC support

This commit enables Shikra APCS IPC support by adding the compatible string.
It reuses the existing apps_shared_apcs_data.

> diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
> index d3a8f6b4a03b3..25f76965921ba 100644
> --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c
> +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
> @@ -168,6 +168,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = {
>  	{ .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq6018_apcs_data },
>  	{ .compatible = "qcom,sc7180-apss-shared", .data = &apps_shared_apcs_data },
>  	{ .compatible = "qcom,sc8180x-apss-shared", .data = &apps_shared_apcs_data },
> +	{ .compatible = "qcom,shikra-apss-shared", .data = &apps_shared_apcs_data },

This isn't a bug, but does this addition conflict with the maintainer comment
located earlier in the qcom_apcs_ipc_of_match array?

The array contains an explicit directive:
/* Do not add any more entries using existing driver data */

Should this new device instead use a fallback compatible string in the
devicetree, such as "qcom,shikra-apss-shared", "qcom,sdm845-apss-shared",
rather than expanding the driver's match table?

>  	{ .compatible = "qcom,sm8150-apss-shared", .data = &apps_shared_apcs_data },
>  	{}
>  };

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260508-shikra_mailbox_and_rpm_changes-v2-0-ab76fd9e71de@oss.qualcomm.com?part=4

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

* Re: [PATCH v2 4/4] mailbox: qcom-apcs-ipc: Add Shikra APCS IPC support
  2026-05-08  9:57   ` Dmitry Baryshkov
@ 2026-05-11  5:35     ` Sneh Mankad
  0 siblings, 0 replies; 8+ messages in thread
From: Sneh Mankad @ 2026-05-11  5:35 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Andy Gross, Mathieu Poirier, Stephan Gerhold,
	Jassi Brar, linux-arm-msm, devicetree, linux-kernel,
	linux-remoteproc, Vishnu Santhosh


On 08-May-26 3:27 PM, Dmitry Baryshkov wrote:
> On Fri, May 08, 2026 at 12:49:50PM +0530, Sneh Mankad wrote:
>> From: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>
>>
>> Enable Shikra APCS IPC support by adding the compatible.
>> It reuses apps_shared_apcs_data.
> With the DT bindings in place this patch is not required and useless.
Yes Dmitry, I realized that and had raised v3 without the driver side patch.

Thanks

Sneh

>> Signed-off-by: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>
>> Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
>> ---
>>   drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
>> index d3a8f6b4a03b368821ef9a5b24fee78037104610..25f76965921ba695e3a1bf4df47ce643916a28cb 100644
>> --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c
>> +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
>> @@ -168,6 +168,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = {
>>   	{ .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq6018_apcs_data },
>>   	{ .compatible = "qcom,sc7180-apss-shared", .data = &apps_shared_apcs_data },
>>   	{ .compatible = "qcom,sc8180x-apss-shared", .data = &apps_shared_apcs_data },
>> +	{ .compatible = "qcom,shikra-apss-shared", .data = &apps_shared_apcs_data },
>>   	{ .compatible = "qcom,sm8150-apss-shared", .data = &apps_shared_apcs_data },
>>   	{}
>>   };
>>
>> -- 
>> 2.34.1
>>

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

end of thread, other threads:[~2026-05-11  5:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08  7:19 [PATCH v2 0/4] Add compatible strings for RPM and mailbox devices for Shikra Sneh Mankad
2026-05-08  7:19 ` [PATCH v2 1/4] dt-bindings: soc: qcom: smd-rpm: Add Shikra rpm-smd compatible Sneh Mankad
2026-05-08  7:19 ` [PATCH v2 2/4] dt-bindings: remoteproc: Add Shikra RPM processor compatible Sneh Mankad
2026-05-08  7:19 ` [PATCH v2 3/4] dt-bindings: mailbox: qcom: Add Shikra APCS compatible Sneh Mankad
2026-05-08  7:19 ` [PATCH v2 4/4] mailbox: qcom-apcs-ipc: Add Shikra APCS IPC support Sneh Mankad
2026-05-08  9:57   ` Dmitry Baryshkov
2026-05-11  5:35     ` Sneh Mankad
2026-05-08 19:02   ` sashiko-bot

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