Lines Matching +full:power +full:- +full:up
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/mediatek,power-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek Power Domains Controller
10 - MandyJH Liu <mandyjh.liu@mediatek.com>
11 - Matthias Brugger <mbrugger@suse.com>
14 Mediatek processors include support for multiple power domains which can be
15 powered up/down by software based on different application scenes to save power.
17 IP cores belonging to a power domain should contain a 'power-domains'
22 pattern: '^power-controller(@[0-9a-f]+)?$'
26 - mediatek,mt6795-power-controller
27 - mediatek,mt8167-power-controller
28 - mediatek,mt8173-power-controller
29 - mediatek,mt8183-power-controller
30 - mediatek,mt8186-power-controller
31 - mediatek,mt8192-power-controller
32 - mediatek,mt8195-power-controller
34 '#power-domain-cells':
37 '#address-cells':
40 '#size-cells':
44 "^power-domain@[0-9a-f]+$":
45 $ref: "#/$defs/power-domain-node"
47 "^power-domain@[0-9a-f]+$":
48 $ref: "#/$defs/power-domain-node"
50 "^power-domain@[0-9a-f]+$":
51 $ref: "#/$defs/power-domain-node"
53 "^power-domain@[0-9a-f]+$":
54 $ref: "#/$defs/power-domain-node"
61 power-domain-node:
64 Represents the power domains within the power controller node as documented
65 in Documentation/devicetree/bindings/power/power-domain.yaml.
69 '#power-domain-cells':
74 '#address-cells':
77 '#size-cells':
82 Power domain index. Valid values are defined in:
83 "include/dt-bindings/power/mt6795-power.h" - for MT8167 type power domain.
84 "include/dt-bindings/power/mt8167-power.h" - for MT8167 type power domain.
85 "include/dt-bindings/power/mt8173-power.h" - for MT8173 type power domain.
86 "include/dt-bindings/power/mt8183-power.h" - for MT8183 type power domain.
87 "include/dt-bindings/power/mt8192-power.h" - for MT8192 type power domain.
88 "include/dt-bindings/power/mt8195-power.h" - for MT8195 type power domain.
94 power-up sequencing.
96 clock-names:
98 List of names of clocks, in order to match the power-up sequencing
99 for each power domain we need to group the clocks by name. BASIC
100 clocks need to be enabled before enabling the corresponding power
101 domain, and should not have a '-' in their name (i.e mm, mfg, venc).
103 and should contain a '-' in their name (i.e mm-0, isp-0, cam-0).
105 In order to follow properly the power-up sequencing, the clocks must
109 domain-supply:
121 - reg
124 - compatible
129 - |
130 #include <dt-bindings/clock/mt8173-clk.h>
131 #include <dt-bindings/power/mt8173-power.h>
134 #address-cells = <2>;
135 #size-cells = <2>;
138 compatible = "mediatek,mt8173-scpsys", "syscon", "simple-mfd";
141 spm: power-controller {
142 compatible = "mediatek,mt8173-power-controller";
143 #address-cells = <1>;
144 #size-cells = <0>;
145 #power-domain-cells = <1>;
147 /* power domains of the SoC */
148 power-domain@MT8173_POWER_DOMAIN_VDEC {
151 clock-names = "mm";
152 #power-domain-cells = <0>;
154 power-domain@MT8173_POWER_DOMAIN_VENC {
158 clock-names = "mm", "venc";
159 #power-domain-cells = <0>;
161 power-domain@MT8173_POWER_DOMAIN_ISP {
164 clock-names = "mm";
165 #power-domain-cells = <0>;
167 power-domain@MT8173_POWER_DOMAIN_MM {
170 clock-names = "mm";
171 #power-domain-cells = <0>;
174 power-domain@MT8173_POWER_DOMAIN_VENC_LT {
178 clock-names = "mm", "venclt";
179 #power-domain-cells = <0>;
181 power-domain@MT8173_POWER_DOMAIN_AUDIO {
183 #power-domain-cells = <0>;
185 power-domain@MT8173_POWER_DOMAIN_USB {
187 #power-domain-cells = <0>;
189 power-domain@MT8173_POWER_DOMAIN_MFG_ASYNC {
192 clock-names = "mfg";
193 #address-cells = <1>;
194 #size-cells = <0>;
195 #power-domain-cells = <1>;
197 power-domain@MT8173_POWER_DOMAIN_MFG_2D {
199 #address-cells = <1>;
200 #size-cells = <0>;
201 #power-domain-cells = <1>;
203 power-domain@MT8173_POWER_DOMAIN_MFG {
205 #power-domain-cells = <0>;