Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / soc / mediatek / scpsys.txt
1 MediaTek SCPSYS
2 ===============
3
4 The System Control Processor System (SCPSYS) has several power management
5 related tasks in the system. The tasks include thermal measurement, dynamic
6 voltage frequency scaling (DVFS), interrupt filter and lowlevel sleep control.
7 The System Power Manager (SPM) inside the SCPSYS is for the MTCMOS power
8 domain control.
9
10 The driver implements the Generic PM domain bindings described in
11 power/power_domain.txt. It provides the power domains defined in
12 include/dt-bindings/power/mt8173-power.h.
13
14 Required 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
24 Example:
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
36 Example consumer:
37
38         afe: mt8173-afe-pcm@11220000 {
39                 compatible = "mediatek,mt8173-afe-pcm";
40                 power-domains = <&scpsys MT8173_POWER_DOMAIN_AUDIO>;
41         };