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", "mfg", "venc" and "venc_lt". 21 These are the clocks which hardware needs to be enabled 22 before 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 <&topckgen CLK_TOP_VENC_SEL>, 34 <&topckgen CLK_TOP_VENC_LT_SEL>; 35 clock-names = "mfg", "mm", "venc", "venc_lt"; 36 }; 37 38Example consumer: 39 40 afe: mt8173-afe-pcm@11220000 { 41 compatible = "mediatek,mt8173-afe-pcm"; 42 power-domains = <&scpsys MT8173_POWER_DOMAIN_AUDIO>; 43 }; 44