Skip to content

Commit d10c985

Browse files
author
Ulf Hansson
committed
pmdomain: Merge branch dt into next
Merge the immutable branch dt into next, to allow the DT bindings to be tested together with changes that are targeted for v6.18. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2 parents 33d000b + 29a7999 commit d10c985

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Documentation/devicetree/bindings/power/mediatek,power-controller.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ properties:
4444
'#size-cells':
4545
const: 0
4646

47+
access-controllers:
48+
description:
49+
A number of phandles to external blocks to set and clear the required
50+
bits to enable or disable bus protection, necessary to avoid any bus
51+
faults while enabling or disabling a power domain.
52+
For example, this may hold phandles to INFRACFG and SMI.
53+
minItems: 1
54+
maxItems: 3
55+
4756
patternProperties:
4857
"^power-domain@[0-9a-f]+$":
4958
$ref: "#/$defs/power-domain-node"
@@ -123,21 +132,49 @@ $defs:
123132
mediatek,infracfg:
124133
$ref: /schemas/types.yaml#/definitions/phandle
125134
description: phandle to the device containing the INFRACFG register range.
135+
deprecated: true
126136

127137
mediatek,infracfg-nao:
128138
$ref: /schemas/types.yaml#/definitions/phandle
129139
description: phandle to the device containing the INFRACFG-NAO register range.
140+
deprecated: true
130141

131142
mediatek,smi:
132143
$ref: /schemas/types.yaml#/definitions/phandle
133144
description: phandle to the device containing the SMI register range.
145+
deprecated: true
134146

135147
required:
136148
- reg
137149

138150
required:
139151
- compatible
140152

153+
allOf:
154+
- if:
155+
properties:
156+
compatible:
157+
contains:
158+
enum:
159+
- mediatek,mt8183-power-controller
160+
then:
161+
properties:
162+
access-controllers:
163+
minItems: 2
164+
maxItems: 2
165+
166+
- if:
167+
properties:
168+
compatible:
169+
contains:
170+
enum:
171+
- mediatek,mt8365-power-controller
172+
then:
173+
properties:
174+
access-controllers:
175+
minItems: 3
176+
maxItems: 3
177+
141178
additionalProperties: false
142179

143180
examples:

0 commit comments

Comments
 (0)