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 and mt2701-power.h. 13 14Required properties: 15- compatible: Should be one of: 16 - "mediatek,mt2701-scpsys" 17 - "mediatek,mt8173-scpsys" 18- #power-domain-cells: Must be 1 19- reg: Address range of the SCPSYS unit 20- infracfg: must contain a phandle to the infracfg controller 21- clock, clock-names: clocks according to the common clock binding. 22 These are clocks which hardware needs to be 23 enabled before enabling certain power domains. 24 Required clocks for MT2701: "mm", "mfg", "ethif" 25 Required clocks for MT8173: "mm", "mfg", "venc", "venc_lt" 26 27Optional properties: 28- vdec-supply: Power supply for the vdec power domain 29- venc-supply: Power supply for the venc power domain 30- isp-supply: Power supply for the isp power domain 31- mm-supply: Power supply for the mm power domain 32- venc_lt-supply: Power supply for the venc_lt power domain 33- audio-supply: Power supply for the audio power domain 34- usb-supply: Power supply for the usb power domain 35- mfg_async-supply: Power supply for the mfg_async power domain 36- mfg_2d-supply: Power supply for the mfg_2d power domain 37- mfg-supply: Power supply for the mfg power domain 38 39Example: 40 41 scpsys: scpsys@10006000 { 42 #power-domain-cells = <1>; 43 compatible = "mediatek,mt8173-scpsys"; 44 reg = <0 0x10006000 0 0x1000>; 45 infracfg = <&infracfg>; 46 clocks = <&clk26m>, 47 <&topckgen CLK_TOP_MM_SEL>; 48 <&topckgen CLK_TOP_VENC_SEL>, 49 <&topckgen CLK_TOP_VENC_LT_SEL>; 50 clock-names = "mfg", "mm", "venc", "venc_lt"; 51 }; 52 53Example consumer: 54 55 afe: mt8173-afe-pcm@11220000 { 56 compatible = "mediatek,mt8173-afe-pcm"; 57 power-domains = <&scpsys MT8173_POWER_DOMAIN_AUDIO>; 58 }; 59