File tree Expand file tree Collapse file tree
Documentation/devicetree/bindings/power Expand file tree Collapse file tree Original file line number Diff line number Diff 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+
4756patternProperties :
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
138150required :
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+
141178additionalProperties : false
142179
143180examples :
You can’t perform that action at this time.
0 commit comments