xref: /linux/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt (revision b85d45947951d23cb22d90caecf4c1eb81342c96)
1MediaTek SCPSYS
2===============
3
4The System Control Processor System (SCPSYS) has several power management
5related tasks in the system. The tasks include thermal measurement, dynamic
6voltage frequency scaling (DVFS), interrupt filter and lowlevel sleep control.
7The System Power Manager (SPM) inside the SCPSYS is for the MTCMOS power
8domain control.
9
10The driver implements the Generic PM domain bindings described in
11power/power_domain.txt. It provides the power domains defined in
12include/dt-bindings/power/mt8173-power.h.
13
14Required properties:
15- compatible: Must be "mediatek,mt8173-scpsys"
16- #power-domain-cells: Must be 1
17- reg: Address range of the SCPSYS unit
18- infracfg: must contain a phandle to the infracfg controller
19- clock, clock-names: clocks according to the common clock binding.
20                      The clocks needed "mm" and "mfg". These are the
21		      clocks which hardware needs to be enabled before
22		      enabling certain power domains.
23
24Example:
25
26	scpsys: scpsys@10006000 {
27		#power-domain-cells = <1>;
28		compatible = "mediatek,mt8173-scpsys";
29		reg = <0 0x10006000 0 0x1000>;
30		infracfg = <&infracfg>;
31		clocks = <&clk26m>,
32			 <&topckgen CLK_TOP_MM_SEL>;
33		clock-names = "mfg", "mm";
34	};
35
36Example consumer:
37
38	afe: mt8173-afe-pcm@11220000 {
39		compatible = "mediatek,mt8173-afe-pcm";
40		power-domains = <&scpsys MT8173_POWER_DOMAIN_AUDIO>;
41	};
42