Skip to content

Commit ec257dd

Browse files
krzkandersson
authored andcommitted
dt-bindings: remoteproc: qcom,sm8550-pas: Add SM8750 ADSP
Document compatible for Qualcomm SM8750 SoC ADSP PAS which looks fully compatible with SM8550 variant. The only difference from bindings point of view is one more interrupt ("shutdown-ack"). Marking devices as compatible, using SM8550 ADSP PAS fallback, requires changing some of the conditionals in "if:then:" to "contains". Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Melody Olvera <[email protected]> Acked-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 60e7c43 commit ec257dd

File tree

1 file changed

+34
-14
lines changed

1 file changed

+34
-14
lines changed

Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,20 @@ description:
1515

1616
properties:
1717
compatible:
18-
enum:
19-
- qcom,sdx75-mpss-pas
20-
- qcom,sm8550-adsp-pas
21-
- qcom,sm8550-cdsp-pas
22-
- qcom,sm8550-mpss-pas
23-
- qcom,sm8650-adsp-pas
24-
- qcom,sm8650-cdsp-pas
25-
- qcom,sm8650-mpss-pas
26-
- qcom,x1e80100-adsp-pas
27-
- qcom,x1e80100-cdsp-pas
18+
oneOf:
19+
- enum:
20+
- qcom,sdx75-mpss-pas
21+
- qcom,sm8550-adsp-pas
22+
- qcom,sm8550-cdsp-pas
23+
- qcom,sm8550-mpss-pas
24+
- qcom,sm8650-adsp-pas
25+
- qcom,sm8650-cdsp-pas
26+
- qcom,sm8650-mpss-pas
27+
- qcom,x1e80100-adsp-pas
28+
- qcom,x1e80100-cdsp-pas
29+
- items:
30+
- const: qcom,sm8750-adsp-pas
31+
- const: qcom,sm8550-adsp-pas
2832

2933
reg:
3034
maxItems: 1
@@ -82,6 +86,20 @@ allOf:
8286
maxItems: 5
8387
memory-region:
8488
maxItems: 2
89+
- if:
90+
properties:
91+
compatible:
92+
contains:
93+
enum:
94+
- qcom,sm8750-adsp-pas
95+
then:
96+
properties:
97+
interrupts:
98+
maxItems: 6
99+
interrupt-names:
100+
maxItems: 6
101+
memory-region:
102+
maxItems: 2
85103
- if:
86104
properties:
87105
compatible:
@@ -129,10 +147,12 @@ allOf:
129147
- if:
130148
properties:
131149
compatible:
132-
enum:
133-
- qcom,sm8550-adsp-pas
134-
- qcom,sm8650-adsp-pas
135-
- qcom,x1e80100-adsp-pas
150+
contains:
151+
enum:
152+
- qcom,sm8550-adsp-pas
153+
- qcom,sm8650-adsp-pas
154+
- qcom,sm8750-adsp-pas
155+
- qcom,x1e80100-adsp-pas
136156
then:
137157
properties:
138158
power-domains:

0 commit comments

Comments
 (0)