[PATCH v6 2/5] dt-bindings: remoteproc: qcom,shikra-pas: Add iommus constraints

From: Komal Bajaj

Date: Thu Nov 19 2026 - 06:44:20 EST


The number of IOMMU streams used by a remote processor is not necessarily
limited to one. On Shikra, LPAICP uses three streams, while CDSP uses one
and MPSS does not use any. The existing single-entry limit therefore cannot
describe the LPAICP firmware streams.

Increase the maximum number of iommus entries to three and constrain it per
compatible: require three entries for qcom,shikra-lpaicp-pas, allow only
one for qcom,shikra-cdsp-pas, and disallow the property for
qcom,shikra-mpss-pas.

Signed-off-by: Komal Bajaj <komal.bajaj@xxxxxxxxxxxxxxxx>
---
.../bindings/remoteproc/qcom,shikra-pas.yaml | 24 +++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml
index 74f83b7ce08d..3b827f2aadb4 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,shikra-pas.yaml
@@ -92,7 +92,8 @@ properties:
description:
IOMMU specifiers of the streams used by the remote processor
firmware for its memory accesses.
- maxItems: 1
+ minItems: 1
+ maxItems: 3

required:
- compatible
@@ -125,6 +126,25 @@ allOf:
items:
- const: cx

+ - if:
+ properties:
+ compatible:
+ enum:
+ - qcom,shikra-cdsp-pas
+ then:
+ properties:
+ iommus:
+ maxItems: 1
+
+ - if:
+ properties:
+ compatible:
+ enum:
+ - qcom,shikra-mpss-pas
+ then:
+ properties:
+ iommus: false
+
- if:
properties:
compatible:
@@ -140,6 +160,8 @@ allOf:
minItems: 2
firmware-name:
minItems: 2
+ iommus:
+ minItems: 3
power-domains: false
power-domain-names: false


--
2.34.1