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