* [PATCH v2 0/2] remoteproc: qcom: Add Shikra remoteproc support
@ 2026-05-20 14:38 Komal Bajaj
2026-05-20 14:38 ` [PATCH v2 1/2] dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs Komal Bajaj
2026-05-20 14:38 ` [PATCH v2 2/2] remoteproc: qcom: pas: Add Shikra remoteproc support Komal Bajaj
0 siblings, 2 replies; 8+ messages in thread
From: Komal Bajaj @ 2026-05-20 14:38 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
Bibek Kumar Patro, Komal Bajaj
Add Peripheral Authentication Service (PAS) support for the Qualcomm
Shikra SoC. This series introduces the device tree bindings and the
driver resource configurations for the three remoteproc cores present
on Shikra: CDSP, LPAICP and MPSS.
Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
---
Changes in v2:
- Add glink-edge, qcom,smem-states and qcom,smem-state-names properties
in bindings
- Drop second interconnect path from the example node (sashiko-bot)
- Update auto_boot to true for CDSP resource (Dmitry)
- Drop region_assign_vmid from CDSP and MPSS resources (Dmitry)
- Drop decrypt_shutdown from MPSS resource (Dmitry)
- Link to v1: https://lore.kernel.org/r/20260514-shikra-rproc-v1-0-9afdedeee002@oss.qualcomm.com
---
Bibek Kumar Patro (1):
remoteproc: qcom: pas: Add Shikra remoteproc support
Komal Bajaj (1):
dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs
.../bindings/remoteproc/qcom,shikra-pas.yaml | 157 +++++++++++++++++++++
drivers/remoteproc/qcom_q6v5_pas.c | 48 +++++++
2 files changed, 205 insertions(+)
---
base-commit: 687da68900cd1a46549f7d9430c7d40346cb86a0
change-id: 20260513-shikra-rproc-0da355c56c69
Best regards,
--
Komal Bajaj <komal.bajaj@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 1/2] dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs
2026-05-20 14:38 [PATCH v2 0/2] remoteproc: qcom: Add Shikra remoteproc support Komal Bajaj
@ 2026-05-20 14:38 ` Komal Bajaj
2026-05-20 15:01 ` sashiko-bot
` (2 more replies)
2026-05-20 14:38 ` [PATCH v2 2/2] remoteproc: qcom: pas: Add Shikra remoteproc support Komal Bajaj
1 sibling, 3 replies; 8+ messages in thread
From: Komal Bajaj @ 2026-05-20 14:38 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
Bibek Kumar Patro, Komal Bajaj
Document the bindings for the CDSP, LPAICP and MPSS PAS on
the Shikra SoC.
Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
---
.../bindings/remoteproc/qcom,shikra-pas.yaml | 157 +++++++++++++++++++++
1 file changed, 157 insertions(+)
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml
new file mode 100644
index 000000000000..f0b9e04d8462
--- /dev/null
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml
@@ -0,0 +1,157 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/remoteproc/qcom,shikra-pas.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm Shikra SoC Peripheral Authentication Service
+
+maintainers:
+ - Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
+ - Komal Bajaj <komal.bajaj@oss.qualcomm.com>
+
+description:
+ Qualcomm Shikra SoC Peripheral Authentication Service loads and boots
+ firmware on the Qualcomm DSP Hexagon cores.
+
+properties:
+ compatible:
+ enum:
+ - qcom,shikra-cdsp-pas
+ - qcom,shikra-lpaicp-pas
+ - qcom,shikra-mpss-pas
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ items:
+ - description: XO clock
+
+ clock-names:
+ items:
+ - const: xo
+
+ memory-region:
+ minItems: 1
+ maxItems: 2
+
+ smd-edge: false
+
+ firmware-name:
+ minItems: 1
+ items:
+ - description: Firmware name of the Hexagon core
+ - description: Firmware name of the Hexagon Devicetree
+
+ glink-edge:
+ $ref: /schemas/remoteproc/qcom,glink-edge.yaml#
+ description:
+ Qualcomm G-Link subnode which represents communication edge, channels
+ and devices related to the remoteproc core.
+ unevaluatedProperties: false
+
+ qcom,smem-states:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ description: States used by the AP to signal the Hexagon core
+ items:
+ - description: Stop the remote processor
+
+ qcom,smem-state-names:
+ description: The names of the state bits used for SMP2P output
+ items:
+ - const: stop
+
+required:
+ - compatible
+ - reg
+ - memory-region
+
+allOf:
+ - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
+
+ - if:
+ properties:
+ compatible:
+ enum:
+ - qcom,shikra-cdsp-pas
+ - qcom,shikra-mpss-pas
+ then:
+ properties:
+ interrupts:
+ minItems: 6
+ interrupt-names:
+ minItems: 6
+ memory-region:
+ maxItems: 1
+ firmware-name:
+ maxItems: 1
+ power-domains:
+ items:
+ - description: CX power domain
+ power-domain-names:
+ items:
+ - const: cx
+
+ - if:
+ properties:
+ compatible:
+ enum:
+ - qcom,shikra-lpaicp-pas
+ then:
+ properties:
+ interrupts:
+ maxItems: 5
+ interrupt-names:
+ maxItems: 5
+ memory-region:
+ minItems: 2
+ firmware-name:
+ minItems: 2
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/qcom,rpmcc.h>
+ #include <dt-bindings/interconnect/qcom,icc.h>
+ #include <dt-bindings/interconnect/qcom,rpm-icc.h>
+ #include <dt-bindings/interconnect/qcom,shikra.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+ #include <dt-bindings/power/qcom-rpmpd.h>
+
+ remoteproc@b300000 {
+ compatible = "qcom,shikra-cdsp-pas";
+ reg = <0x0b300000 0x100000>;
+
+ interrupts-extended = <&intc GIC_SPI 265 IRQ_TYPE_EDGE_RISING>,
+ <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
+ <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
+ <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
+ <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
+ <&cdsp_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "wdog", "fatal", "ready",
+ "handover", "stop-ack", "shutdown-ack";
+
+ clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
+ clock-names = "xo";
+
+ interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
+ &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
+
+ power-domains = <&rpmpd RPMHPD_CX>;
+ power-domain-names = "cx";
+
+ memory-region = <&cdsp_mem>;
+
+ qcom,smem-states = <&cdsp_smp2p_out 0>;
+ qcom,smem-state-names = "stop";
+
+ glink-edge {
+ interrupts = <GIC_SPI 261 IRQ_TYPE_EDGE_RISING>;
+ mboxes = <&apcs_glb 4>;
+ qcom,remote-pid = <5>;
+ label = "cdsp";
+ };
+ };
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2 2/2] remoteproc: qcom: pas: Add Shikra remoteproc support
2026-05-20 14:38 [PATCH v2 0/2] remoteproc: qcom: Add Shikra remoteproc support Komal Bajaj
2026-05-20 14:38 ` [PATCH v2 1/2] dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs Komal Bajaj
@ 2026-05-20 14:38 ` Komal Bajaj
2026-05-20 14:55 ` Dmitry Baryshkov
1 sibling, 1 reply; 8+ messages in thread
From: Komal Bajaj @ 2026-05-20 14:38 UTC (permalink / raw)
To: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
Bibek Kumar Patro, Komal Bajaj
From: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
Add the CDSP, LPAICP and MPSS Peripheral Authentication Service support
for the Qualcomm Shikra SoC.
Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
---
drivers/remoteproc/qcom_q6v5_pas.c | 48 ++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
index da27d1d3c9da..0101f1db6458 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -1457,6 +1457,51 @@ static const struct qcom_pas_data sc7280_wpss_resource = {
.ssctl_id = 0x19,
};
+static const struct qcom_pas_data shikra_cdsp_resource = {
+ .crash_reason_smem = 601,
+ .firmware_name = "cdsp.mbn",
+ .pas_id = 18,
+ .minidump_id = 7,
+ .auto_boot = true,
+ .proxy_pd_names = (char *[]){
+ "cx",
+ NULL
+ },
+ .load_state = "cdsp",
+ .ssr_name = "cdsp",
+ .sysmon_name = "cdsp",
+ .ssctl_id = 0x17,
+ .smem_host_id = 5,
+};
+
+static const struct qcom_pas_data shikra_lpaicp_resource = {
+ .crash_reason_smem = 682,
+ .firmware_name = "lpaicp.mbn",
+ .dtb_firmware_name = "lpaicp_dtb.mbn",
+ .pas_id = 0x56,
+ .dtb_pas_id = 0x57,
+ .minidump_id = 0,
+ .auto_boot = true,
+ .ssr_name = "lpaicp",
+ .sysmon_name = "lpaicp",
+};
+
+static const struct qcom_pas_data shikra_mpss_resource = {
+ .crash_reason_smem = 421,
+ .firmware_name = "qdsp6sw.mbn",
+ .pas_id = 4,
+ .minidump_id = 3,
+ .auto_boot = false,
+ .proxy_pd_names = (char *[]){
+ "cx",
+ NULL
+ },
+ .load_state = "modem",
+ .ssr_name = "mpss",
+ .sysmon_name = "modem",
+ .ssctl_id = 0x12,
+};
+
static const struct qcom_pas_data sm8650_cdsp_resource = {
.crash_reason_smem = 601,
.firmware_name = "cdsp.mdt",
@@ -1571,6 +1616,9 @@ static const struct of_device_id qcom_pas_of_match[] = {
{ .compatible = "qcom,sdm845-slpi-pas", .data = &sdm845_slpi_resource_init },
{ .compatible = "qcom,sdx55-mpss-pas", .data = &sdx55_mpss_resource },
{ .compatible = "qcom,sdx75-mpss-pas", .data = &sm8650_mpss_resource },
+ { .compatible = "qcom,shikra-cdsp-pas", .data = &shikra_cdsp_resource },
+ { .compatible = "qcom,shikra-lpaicp-pas", .data = &shikra_lpaicp_resource },
+ { .compatible = "qcom,shikra-mpss-pas", .data = &shikra_mpss_resource },
{ .compatible = "qcom,sm6115-adsp-pas", .data = &adsp_resource_init },
{ .compatible = "qcom,sm6115-cdsp-pas", .data = &cdsp_resource_init },
{ .compatible = "qcom,sm6115-mpss-pas", .data = &sc8180x_mpss_resource },
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v2 2/2] remoteproc: qcom: pas: Add Shikra remoteproc support
2026-05-20 14:38 ` [PATCH v2 2/2] remoteproc: qcom: pas: Add Shikra remoteproc support Komal Bajaj
@ 2026-05-20 14:55 ` Dmitry Baryshkov
0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2026-05-20 14:55 UTC (permalink / raw)
To: Komal Bajaj
Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
linux-remoteproc, devicetree, linux-kernel, Bibek Kumar Patro
On Wed, May 20, 2026 at 08:08:06PM +0530, Komal Bajaj wrote:
> From: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
>
> Add the CDSP, LPAICP and MPSS Peripheral Authentication Service support
> for the Qualcomm Shikra SoC.
>
> Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
> Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
> ---
> drivers/remoteproc/qcom_q6v5_pas.c | 48 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 48 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs
2026-05-20 14:38 ` [PATCH v2 1/2] dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs Komal Bajaj
@ 2026-05-20 15:01 ` sashiko-bot
2026-05-20 16:58 ` Rob Herring (Arm)
2026-05-21 8:00 ` Krzysztof Kozlowski
2 siblings, 0 replies; 8+ messages in thread
From: sashiko-bot @ 2026-05-20 15:01 UTC (permalink / raw)
To: Komal Bajaj; +Cc: conor+dt, robh, devicetree
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The dt-binding example incorrectly mixes SMD RPM components with RPMh power domain constants.
--
commit 69848c4ac32e863c52c6df41cb4da6b7c711fe47
Author: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs
This commit documents the device tree bindings for the CDSP, LPAICP, and
MPSS Peripheral Authentication Service (PAS) on the Qualcomm Shikra SoC.
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml
> new file mode 100644
> index 0000000000000..f0b9e04d84620
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml
> @@ -0,0 +1,157 @@
[ ... ]
> +examples:
> + - |
> + #include <dt-bindings/clock/qcom,rpmcc.h>
> + #include <dt-bindings/interconnect/qcom,icc.h>
> + #include <dt-bindings/interconnect/qcom,rpm-icc.h>
> + #include <dt-bindings/interconnect/qcom,shikra.h>
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> + #include <dt-bindings/power/qcom-rpmpd.h>
> +
> + remoteproc@b300000 {
> + compatible = "qcom,shikra-cdsp-pas";
> + reg = <0x0b300000 0x100000>;
[ ... ]
> + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
> + clock-names = "xo";
> +
> + interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
> + &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
> +
> + power-domains = <&rpmpd RPMHPD_CX>;
[Severity: Low]
Is this using the correct power domain constant for the Shikra SoC?
The example appears to mix SMD RPM components with RPMh power domain constants.
It uses an SMD RPM clock (RPM_SMD_XO_CLK_SRC) and the rpmpd phandle, but
assigns RPMHPD_CX to the power domain, which is an RPMh constant.
Since Shikra is an SMD RPM SoC, should this use an SMD RPM constant like
RPMPD_VDDCX instead to prevent semantic inaccuracies and potential copy-paste
errors in actual device trees?
> + power-domain-names = "cx";
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260520-shikra-rproc-v2-0-583a2e413a3a@oss.qualcomm.com?part=1
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs
2026-05-20 14:38 ` [PATCH v2 1/2] dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs Komal Bajaj
2026-05-20 15:01 ` sashiko-bot
@ 2026-05-20 16:58 ` Rob Herring (Arm)
2026-05-21 8:00 ` Krzysztof Kozlowski
2 siblings, 0 replies; 8+ messages in thread
From: Rob Herring (Arm) @ 2026-05-20 16:58 UTC (permalink / raw)
To: Komal Bajaj
Cc: linux-remoteproc, linux-kernel, Bjorn Andersson, linux-arm-msm,
devicetree, Krzysztof Kozlowski, Bibek Kumar Patro,
Mathieu Poirier, Conor Dooley
On Wed, 20 May 2026 20:08:05 +0530, Komal Bajaj wrote:
> Document the bindings for the CDSP, LPAICP and MPSS PAS on
> the Shikra SoC.
>
> Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
> Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
> ---
> .../bindings/remoteproc/qcom,shikra-pas.yaml | 157 +++++++++++++++++++++
> 1 file changed, 157 insertions(+)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml: properties:qcom,smem-states:items:0: 'anyOf' conditional failed, one must be fixed:
'items' is a required property
'minItems' is a required property
'maxItems' is a required property
from schema $id: http://devicetree.org/meta-schemas/items.yaml
doc reference errors (make refcheckdocs):
See https://patchwork.kernel.org/project/devicetree/patch/20260520-shikra-rproc-v2-1-583a2e413a3a@oss.qualcomm.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs
2026-05-20 14:38 ` [PATCH v2 1/2] dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs Komal Bajaj
2026-05-20 15:01 ` sashiko-bot
2026-05-20 16:58 ` Rob Herring (Arm)
@ 2026-05-21 8:00 ` Krzysztof Kozlowski
2026-05-21 11:10 ` Komal Bajaj
2 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-05-21 8:00 UTC (permalink / raw)
To: Komal Bajaj
Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
linux-remoteproc, devicetree, linux-kernel, Bibek Kumar Patro
On Wed, May 20, 2026 at 08:08:05PM +0530, Komal Bajaj wrote:
> + glink-edge:
> + $ref: /schemas/remoteproc/qcom,glink-edge.yaml#
> + description:
> + Qualcomm G-Link subnode which represents communication edge, channels
> + and devices related to the remoteproc core.
> + unevaluatedProperties: false
> +
> + qcom,smem-states:
> + $ref: /schemas/types.yaml#/definitions/phandle-array
> + description: States used by the AP to signal the Hexagon core
> + items:
> + - description: Stop the remote processor
You again got the warning here. It must be solved, don't send the same.
See thread:
https://lore.kernel.org/all/20260421195836.1547469-1-robh@kernel.org/
> +
> + qcom,smem-state-names:
> + description: The names of the state bits used for SMP2P output
> + items:
> + - const: stop
> +
> +required:
> + - compatible
> + - reg
> + - memory-region
> +
> +allOf:
> + - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
> +
> + - if:
> + properties:
> + compatible:
> + enum:
> + - qcom,shikra-cdsp-pas
> + - qcom,shikra-mpss-pas
> + then:
> + properties:
> + interrupts:
> + minItems: 6
> + interrupt-names:
> + minItems: 6
> + memory-region:
> + maxItems: 1
> + firmware-name:
> + maxItems: 1
> + power-domains:
> + items:
> + - description: CX power domain
> + power-domain-names:
> + items:
> + - const: cx
> +
> + - if:
> + properties:
> + compatible:
> + enum:
> + - qcom,shikra-lpaicp-pas
> + then:
> + properties:
> + interrupts:
> + maxItems: 5
> + interrupt-names:
> + maxItems: 5
> + memory-region:
> + minItems: 2
> + firmware-name:
> + minItems: 2
power-domains: false
power-domain-names: false
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/clock/qcom,rpmcc.h>
> + #include <dt-bindings/interconnect/qcom,icc.h>
> + #include <dt-bindings/interconnect/qcom,rpm-icc.h>
> + #include <dt-bindings/interconnect/qcom,shikra.h>
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> + #include <dt-bindings/power/qcom-rpmpd.h>
> +
> + remoteproc@b300000 {
> + compatible = "qcom,shikra-cdsp-pas";
> + reg = <0x0b300000 0x100000>;
> +
> + interrupts-extended = <&intc GIC_SPI 265 IRQ_TYPE_EDGE_RISING>,
> + <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
> + <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
> + <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
> + <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
> + <&cdsp_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
> + interrupt-names = "wdog", "fatal", "ready",
> + "handover", "stop-ack", "shutdown-ack";
> +
> + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
> + clock-names = "xo";
> +
> + interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
> + &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
> +
> + power-domains = <&rpmpd RPMHPD_CX>;
> + power-domain-names = "cx";
> +
> + memory-region = <&cdsp_mem>;
> +
> + qcom,smem-states = <&cdsp_smp2p_out 0>;
> + qcom,smem-state-names = "stop";
Missing firmware-name
> +
> + glink-edge {
> + interrupts = <GIC_SPI 261 IRQ_TYPE_EDGE_RISING>;
> + mboxes = <&apcs_glb 4>;
> + qcom,remote-pid = <5>;
> + label = "cdsp";
> + };
> + };
>
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs
2026-05-21 8:00 ` Krzysztof Kozlowski
@ 2026-05-21 11:10 ` Komal Bajaj
0 siblings, 0 replies; 8+ messages in thread
From: Komal Bajaj @ 2026-05-21 11:10 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
linux-remoteproc, devicetree, linux-kernel, Bibek Kumar Patro
On 5/21/2026 1:30 PM, Krzysztof Kozlowski wrote:
> On Wed, May 20, 2026 at 08:08:05PM +0530, Komal Bajaj wrote:
>> + glink-edge:
>> + $ref: /schemas/remoteproc/qcom,glink-edge.yaml#
>> + description:
>> + Qualcomm G-Link subnode which represents communication edge, channels
>> + and devices related to the remoteproc core.
>> + unevaluatedProperties: false
>> +
>> + qcom,smem-states:
>> + $ref: /schemas/types.yaml#/definitions/phandle-array
>> + description: States used by the AP to signal the Hexagon core
>> + items:
>> + - description: Stop the remote processor
> You again got the warning here. It must be solved, don't send the same.
>
> See thread:
> https://lore.kernel.org/all/20260421195836.1547469-1-robh@kernel.org/
I ran make dt_binding_check and didn’t see this warning, likely because
my dt-schema was not up to date. I’ll fix this in the next version.
>
>
>> +
>> + qcom,smem-state-names:
>> + description: The names of the state bits used for SMP2P output
>> + items:
>> + - const: stop
>> +
>> +required:
>> + - compatible
>> + - reg
>> + - memory-region
>> +
>> +allOf:
>> + - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
>> +
>> + - if:
>> + properties:
>> + compatible:
>> + enum:
>> + - qcom,shikra-cdsp-pas
>> + - qcom,shikra-mpss-pas
>> + then:
>> + properties:
>> + interrupts:
>> + minItems: 6
>> + interrupt-names:
>> + minItems: 6
>> + memory-region:
>> + maxItems: 1
>> + firmware-name:
>> + maxItems: 1
>> + power-domains:
>> + items:
>> + - description: CX power domain
>> + power-domain-names:
>> + items:
>> + - const: cx
>> +
>> + - if:
>> + properties:
>> + compatible:
>> + enum:
>> + - qcom,shikra-lpaicp-pas
>> + then:
>> + properties:
>> + interrupts:
>> + maxItems: 5
>> + interrupt-names:
>> + maxItems: 5
>> + memory-region:
>> + minItems: 2
>> + firmware-name:
>> + minItems: 2
> power-domains: false
> power-domain-names: false
Ack, will add in next series.
>
>> +
>> +unevaluatedProperties: false
>> +
>> +examples:
>> + - |
>> + #include <dt-bindings/clock/qcom,rpmcc.h>
>> + #include <dt-bindings/interconnect/qcom,icc.h>
>> + #include <dt-bindings/interconnect/qcom,rpm-icc.h>
>> + #include <dt-bindings/interconnect/qcom,shikra.h>
>> + #include <dt-bindings/interrupt-controller/arm-gic.h>
>> + #include <dt-bindings/interrupt-controller/irq.h>
>> + #include <dt-bindings/power/qcom-rpmpd.h>
>> +
>> + remoteproc@b300000 {
>> + compatible = "qcom,shikra-cdsp-pas";
>> + reg = <0x0b300000 0x100000>;
>> +
>> + interrupts-extended = <&intc GIC_SPI 265 IRQ_TYPE_EDGE_RISING>,
>> + <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
>> + <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
>> + <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
>> + <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
>> + <&cdsp_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
>> + interrupt-names = "wdog", "fatal", "ready",
>> + "handover", "stop-ack", "shutdown-ack";
>> +
>> + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
>> + clock-names = "xo";
>> +
>> + interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
>> + &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
>> +
>> + power-domains = <&rpmpd RPMHPD_CX>;
>> + power-domain-names = "cx";
>> +
>> + memory-region = <&cdsp_mem>;
>> +
>> + qcom,smem-states = <&cdsp_smp2p_out 0>;
>> + qcom,smem-state-names = "stop";
> Missing firmware-name
ACK, will add in next series.
Thanks
Komal
>
>> +
>> + glink-edge {
>> + interrupts = <GIC_SPI 261 IRQ_TYPE_EDGE_RISING>;
>> + mboxes = <&apcs_glb 4>;
>> + qcom,remote-pid = <5>;
>> + label = "cdsp";
>> + };
>> + };
>>
>> --
>> 2.34.1
>>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-05-21 11:11 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-20 14:38 [PATCH v2 0/2] remoteproc: qcom: Add Shikra remoteproc support Komal Bajaj
2026-05-20 14:38 ` [PATCH v2 1/2] dt-bindings: remoteproc: qcom,shikra-pas: Document Shikra PAS remoteprocs Komal Bajaj
2026-05-20 15:01 ` sashiko-bot
2026-05-20 16:58 ` Rob Herring (Arm)
2026-05-21 8:00 ` Krzysztof Kozlowski
2026-05-21 11:10 ` Komal Bajaj
2026-05-20 14:38 ` [PATCH v2 2/2] remoteproc: qcom: pas: Add Shikra remoteproc support Komal Bajaj
2026-05-20 14:55 ` Dmitry Baryshkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox