Skip to content

Commit a2935a3

Browse files
mlehtimaandersson
authored andcommitted
dt-bindings: remoteproc: qcom,msm8916-mss-pil: Support platforms with one power domain
Add support for platforms such as MSM8974 which have the mx voltage rail exposed as regulator and only cx voltage rail as power domain. Signed-off-by: Matti Lehtimäki <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Luca Weiss <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 82162db commit a2935a3

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

Documentation/devicetree/bindings/remoteproc/qcom,msm8916-mss-pil.yaml

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,17 @@ properties:
7070
items:
7171
- description: CX proxy power domain (control handed over after startup)
7272
- description: MX proxy power domain (control handed over after startup)
73+
(not valid for qcom,msm8974-mss-pil)
7374
- description: MSS proxy power domain (control handed over after startup)
7475
(only valid for qcom,msm8953-mss-pil)
75-
minItems: 2
76+
minItems: 1
7677

7778
power-domain-names:
7879
items:
7980
- const: cx
80-
- const: mx
81+
- const: mx # not valid for qcom,msm8974-mss-pil
8182
- const: mss # only valid for qcom,msm8953-mss-pil
82-
minItems: 2
83+
minItems: 1
8384

8485
pll-supply:
8586
description: PLL proxy supply (control handed over after startup)
@@ -207,13 +208,38 @@ allOf:
207208
required:
208209
- power-domains
209210
- power-domain-names
210-
else:
211+
212+
- if:
213+
properties:
214+
compatible:
215+
contains:
216+
enum:
217+
- qcom,msm8909-mss-pil
218+
- qcom,msm8916-mss-pil
219+
then:
211220
properties:
212221
power-domains:
222+
minItems: 2
213223
maxItems: 2
214224
power-domain-names:
225+
minItems: 2
215226
maxItems: 2
216227

228+
- if:
229+
properties:
230+
compatible:
231+
contains:
232+
enum:
233+
- qcom,msm8974-mss-pil
234+
then:
235+
properties:
236+
power-domains:
237+
maxItems: 1
238+
power-domain-names:
239+
maxItems: 1
240+
required:
241+
- mx-supply
242+
217243
- if:
218244
properties:
219245
compatible:

0 commit comments

Comments
 (0)