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