Skip to content

Commit 0173065

Browse files
mlehtimaandersson
authored andcommitted
dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add MSM8226
Add support for external power block headswitch (BHS) registers. Similarly to MSM8974 also MSM8226 has 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 a2935a3 commit 0173065

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

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

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ properties:
1717
compatible:
1818
oneOf:
1919
- enum:
20+
- qcom,msm8226-mss-pil
2021
- qcom,msm8909-mss-pil
2122
- qcom,msm8916-mss-pil
2223
- qcom,msm8953-mss-pil
@@ -70,15 +71,15 @@ properties:
7071
items:
7172
- description: CX proxy power domain (control handed over after startup)
7273
- description: MX proxy power domain (control handed over after startup)
73-
(not valid for qcom,msm8974-mss-pil)
74+
(not valid for qcom,msm8226-mss-pil or qcom,msm8974-mss-pil)
7475
- description: MSS proxy power domain (control handed over after startup)
7576
(only valid for qcom,msm8953-mss-pil)
7677
minItems: 1
7778

7879
power-domain-names:
7980
items:
8081
- const: cx
81-
- const: mx # not valid for qcom,msm8974-mss-pil
82+
- const: mx # not valid for qcom,msm8226-mss-pil or qcom,msm8974-mss-pil
8283
- const: mss # only valid for qcom,msm8953-mss-pil
8384
minItems: 1
8485

@@ -107,6 +108,15 @@ properties:
107108
items:
108109
- const: stop
109110

111+
qcom,ext-bhs-reg:
112+
$ref: /schemas/types.yaml#/definitions/phandle-array
113+
description: External power block headswitch (BHS) register
114+
(only valid for qcom,msm8226-mss-pil)
115+
items:
116+
- items:
117+
- description: phandle to external BHS syscon region
118+
- description: offset to the external BHS register
119+
110120
qcom,halt-regs:
111121
$ref: /schemas/types.yaml#/definitions/phandle-array
112122
description:
@@ -230,6 +240,7 @@ allOf:
230240
compatible:
231241
contains:
232242
enum:
243+
- qcom,msm8226-mss-pil
233244
- qcom,msm8974-mss-pil
234245
then:
235246
properties:
@@ -240,6 +251,17 @@ allOf:
240251
required:
241252
- mx-supply
242253

254+
- if:
255+
properties:
256+
compatible:
257+
const: qcom,msm8226-mss-pil
258+
then:
259+
required:
260+
- qcom,ext-bhs-reg
261+
else:
262+
properties:
263+
qcom,ext-bhs-reg: false
264+
243265
- if:
244266
properties:
245267
compatible:

0 commit comments

Comments
 (0)