scpsys.txt 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. MediaTek SCPSYS
  2. ===============
  3. The System Control Processor System (SCPSYS) has several power management
  4. related tasks in the system. The tasks include thermal measurement, dynamic
  5. voltage frequency scaling (DVFS), interrupt filter and lowlevel sleep control.
  6. The System Power Manager (SPM) inside the SCPSYS is for the MTCMOS power
  7. domain control.
  8. The driver implements the Generic PM domain bindings described in
  9. power/power_domain.txt. It provides the power domains defined in
  10. include/dt-bindings/power/mt8173-power.h.
  11. Required properties:
  12. - compatible: Must be "mediatek,mt8173-scpsys"
  13. - #power-domain-cells: Must be 1
  14. - reg: Address range of the SCPSYS unit
  15. - infracfg: must contain a phandle to the infracfg controller
  16. Example:
  17. scpsys: scpsys@10006000 {
  18. #power-domain-cells = <1>;
  19. compatible = "mediatek,mt8173-scpsys";
  20. reg = <0 0x10006000 0 0x1000>;
  21. infracfg = <&infracfg>;
  22. };
  23. Example consumer:
  24. afe: mt8173-afe-pcm@11220000 {
  25. compatible = "mediatek,mt8173-afe-pcm";
  26. power-domains = <&scpsys MT8173_POWER_DOMAIN_AUDIO>;
  27. };