Lines Matching +full:mt8195 +full:- +full:power
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,mt8188-power-controller
32 - mediatek,mt8192-power-controller
33 - mediatek,mt8195-power-controller
35 '#power-domain-cells':
38 '#address-cells':
41 '#size-cells':
45 "^power-domain@[0-9a-f]+$":
46 $ref: "#/$defs/power-domain-node"
48 "^power-domain@[0-9a-f]+$":
49 $ref: "#/$defs/power-domain-node"
51 "^power-domain@[0-9a-f]+$":
52 $ref: "#/$defs/power-domain-node"
54 "^power-domain@[0-9a-f]+$":
55 $ref: "#/$defs/power-domain-node"
62 power-domain-node:
65 Represents the power domains within the power controller node as documented
66 in Documentation/devicetree/bindings/power/power-domain.yaml.
70 '#power-domain-cells':
75 '#address-cells':
78 '#size-cells':
83 Power domain index. Valid values are defined in:
84 "include/dt-bindings/power/mt6795-power.h" - for MT8167 type power domain.
85 "include/dt-bindings/power/mt8167-power.h" - for MT8167 type power domain.
86 "include/dt-bindings/power/mt8173-power.h" - for MT8173 type power domain.
87 "include/dt-bindings/power/mt8183-power.h" - for MT8183 type power domain.
88 "include/dt-bindings/power/mediatek,mt8188-power.h" - for MT8188 type power domain.
89 "include/dt-bindings/power/mt8192-power.h" - for MT8192 type power domain.
90 "include/dt-bindings/power/mt8195-power.h" - for MT8195 type power domain.
96 power-up sequencing.
98 clock-names:
100 List of names of clocks, in order to match the power-up sequencing
101 for each power domain we need to group the clocks by name. BASIC
102 clocks need to be enabled before enabling the corresponding power
103 domain, and should not have a '-' in their name (i.e mm, mfg, venc).
105 and should contain a '-' in their name (i.e mm-0, isp-0, cam-0).
107 In order to follow properly the power-up sequencing, the clocks must
111 domain-supply:
123 - reg
126 - compatible
131 - |
132 #include <dt-bindings/clock/mt8173-clk.h>
133 #include <dt-bindings/power/mt8173-power.h>
136 #address-cells = <2>;
137 #size-cells = <2>;
140 compatible = "mediatek,mt8173-scpsys", "syscon", "simple-mfd";
143 spm: power-controller {
144 compatible = "mediatek,mt8173-power-controller";
145 #address-cells = <1>;
146 #size-cells = <0>;
147 #power-domain-cells = <1>;
149 /* power domains of the SoC */
150 power-domain@MT8173_POWER_DOMAIN_VDEC {
153 clock-names = "mm";
154 #power-domain-cells = <0>;
156 power-domain@MT8173_POWER_DOMAIN_VENC {
160 clock-names = "mm", "venc";
161 #power-domain-cells = <0>;
163 power-domain@MT8173_POWER_DOMAIN_ISP {
166 clock-names = "mm";
167 #power-domain-cells = <0>;
169 power-domain@MT8173_POWER_DOMAIN_MM {
172 clock-names = "mm";
173 #power-domain-cells = <0>;
176 power-domain@MT8173_POWER_DOMAIN_VENC_LT {
180 clock-names = "mm", "venclt";
181 #power-domain-cells = <0>;
183 power-domain@MT8173_POWER_DOMAIN_AUDIO {
185 #power-domain-cells = <0>;
187 power-domain@MT8173_POWER_DOMAIN_USB {
189 #power-domain-cells = <0>;
191 power-domain@MT8173_POWER_DOMAIN_MFG_ASYNC {
194 clock-names = "mfg";
195 #address-cells = <1>;
196 #size-cells = <0>;
197 #power-domain-cells = <1>;
199 power-domain@MT8173_POWER_DOMAIN_MFG_2D {
201 #address-cells = <1>;
202 #size-cells = <0>;
203 #power-domain-cells = <1>;
205 power-domain@MT8173_POWER_DOMAIN_MFG {
207 #power-domain-cells = <0>;