2
0

0007-dt-bindings-soc-Add-documentation-for-the-MediaTek-S.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. From 06a1fd8a198771abc7c5badcf43a49a715ba4c76 Mon Sep 17 00:00:00 2001
  2. From: Sascha Hauer <[email protected]>
  3. Date: Tue, 9 Jun 2015 10:47:00 +0200
  4. Subject: [PATCH 07/76] dt-bindings: soc: Add documentation for the MediaTek
  5. SCPSYS unit
  6. This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs.
  7. Signed-off-by: Sascha Hauer <[email protected]>
  8. ---
  9. .../devicetree/bindings/soc/mediatek/scpsys.txt | 34 ++++++++++++++++++++
  10. 1 file changed, 34 insertions(+)
  11. create mode 100644 Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
  12. --- /dev/null
  13. +++ b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
  14. @@ -0,0 +1,34 @@
  15. +MediaTek SCPSYS
  16. +===============
  17. +
  18. +The System Control Processor System (SCPSYS) has several power management
  19. +related tasks in the system. The tasks include thermal measurement, dynamic
  20. +voltage frequency scaling (DVFS), interrupt filter and lowlevel sleep control.
  21. +The System Power Manager (SPM) inside the SCPSYS is for the MTCMOS power
  22. +domain control.
  23. +
  24. +The driver implements the Generic PM domain bindings described in
  25. +power/power_domain.txt. It provides the power domains defined in
  26. +include/dt-bindings/power/mt8173-power.h.
  27. +
  28. +Required properties:
  29. +- compatible: Must be "mediatek,mt8173-scpsys"
  30. +- #power-domain-cells: Must be 1
  31. +- reg: Address range of the SCPSYS unit
  32. +- infracfg: must contain a phandle to the infracfg controller
  33. +
  34. +Example:
  35. +
  36. + scpsys: scpsys@10006000 {
  37. + #power-domain-cells = <1>;
  38. + compatible = "mediatek,mt8173-scpsys";
  39. + reg = <0 0x10006000 0 0x1000>;
  40. + infracfg = <&infracfg>;
  41. + };
  42. +
  43. +Example consumer:
  44. +
  45. + afe: mt8173-afe-pcm@11220000 {
  46. + compatible = "mediatek,mt8173-afe-pcm";
  47. + power-domains = <&scpsys MT8173_POWER_DOMAIN_AUDIO>;
  48. + };