mediatek: add support for the new MT7623 Arm SoC
[openwrt/openwrt.git] / target / linux / mediatek / patches / 0007-dt-bindings-soc-Add-documentation-for-the-MediaTek-S.patch
1 From 06a1fd8a198771abc7c5badcf43a49a715ba4c76 Mon Sep 17 00:00:00 2001
2 From: Sascha Hauer <s.hauer@pengutronix.de>
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
7 This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs.
8
9 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
10 ---
11 .../devicetree/bindings/soc/mediatek/scpsys.txt | 34 ++++++++++++++++++++
12 1 file changed, 34 insertions(+)
13 create mode 100644 Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
14
15 diff --git a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
16 new file mode 100644
17 index 0000000..87f2091
18 --- /dev/null
19 +++ b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
20 @@ -0,0 +1,34 @@
21 +MediaTek SCPSYS
22 +===============
23 +
24 +The System Control Processor System (SCPSYS) has several power management
25 +related tasks in the system. The tasks include thermal measurement, dynamic
26 +voltage frequency scaling (DVFS), interrupt filter and lowlevel sleep control.
27 +The System Power Manager (SPM) inside the SCPSYS is for the MTCMOS power
28 +domain control.
29 +
30 +The driver implements the Generic PM domain bindings described in
31 +power/power_domain.txt. It provides the power domains defined in
32 +include/dt-bindings/power/mt8173-power.h.
33 +
34 +Required properties:
35 +- compatible: Must be "mediatek,mt8173-scpsys"
36 +- #power-domain-cells: Must be 1
37 +- reg: Address range of the SCPSYS unit
38 +- infracfg: must contain a phandle to the infracfg controller
39 +
40 +Example:
41 +
42 + scpsys: scpsys@10006000 {
43 + #power-domain-cells = <1>;
44 + compatible = "mediatek,mt8173-scpsys";
45 + reg = <0 0x10006000 0 0x1000>;
46 + infracfg = <&infracfg>;
47 + };
48 +
49 +Example consumer:
50 +
51 + afe: mt8173-afe-pcm@11220000 {
52 + compatible = "mediatek,mt8173-afe-pcm";
53 + power-domains = <&scpsys MT8173_POWER_DOMAIN_AUDIO>;
54 + };
55 --
56 1.7.10.4
57