mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
f0a5f24217
- two upstreamed patches removed - compile tested all targets using 4.1 - run tested ar71xx Signed-off-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47694
52 lines
1.7 KiB
Diff
52 lines
1.7 KiB
Diff
From 06a1fd8a198771abc7c5badcf43a49a715ba4c76 Mon Sep 17 00:00:00 2001
|
|
From: Sascha Hauer <s.hauer@pengutronix.de>
|
|
Date: Tue, 9 Jun 2015 10:47:00 +0200
|
|
Subject: [PATCH 07/76] dt-bindings: soc: Add documentation for the MediaTek
|
|
SCPSYS unit
|
|
|
|
This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs.
|
|
|
|
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
---
|
|
.../devicetree/bindings/soc/mediatek/scpsys.txt | 34 ++++++++++++++++++++
|
|
1 file changed, 34 insertions(+)
|
|
create mode 100644 Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
|
|
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
|
|
@@ -0,0 +1,34 @@
|
|
+MediaTek SCPSYS
|
|
+===============
|
|
+
|
|
+The System Control Processor System (SCPSYS) has several power management
|
|
+related tasks in the system. The tasks include thermal measurement, dynamic
|
|
+voltage frequency scaling (DVFS), interrupt filter and lowlevel sleep control.
|
|
+The System Power Manager (SPM) inside the SCPSYS is for the MTCMOS power
|
|
+domain control.
|
|
+
|
|
+The driver implements the Generic PM domain bindings described in
|
|
+power/power_domain.txt. It provides the power domains defined in
|
|
+include/dt-bindings/power/mt8173-power.h.
|
|
+
|
|
+Required properties:
|
|
+- compatible: Must be "mediatek,mt8173-scpsys"
|
|
+- #power-domain-cells: Must be 1
|
|
+- reg: Address range of the SCPSYS unit
|
|
+- infracfg: must contain a phandle to the infracfg controller
|
|
+
|
|
+Example:
|
|
+
|
|
+ scpsys: scpsys@10006000 {
|
|
+ #power-domain-cells = <1>;
|
|
+ compatible = "mediatek,mt8173-scpsys";
|
|
+ reg = <0 0x10006000 0 0x1000>;
|
|
+ infracfg = <&infracfg>;
|
|
+ };
|
|
+
|
|
+Example consumer:
|
|
+
|
|
+ afe: mt8173-afe-pcm@11220000 {
|
|
+ compatible = "mediatek,mt8173-afe-pcm";
|
|
+ power-domains = <&scpsys MT8173_POWER_DOMAIN_AUDIO>;
|
|
+ };
|