kernel: update 3.14 to 3.14.18
[openwrt/openwrt.git] / target / linux / ipq806x / patches / 0012-devicetree-bindings-Document-qcom-saw2-node.patch
1 From 17adce4d3de1fca7761607d572f4979557f0f604 Mon Sep 17 00:00:00 2001
2 From: Stephen Boyd <sboyd@codeaurora.org>
3 Date: Thu, 31 Oct 2013 18:20:30 -0700
4 Subject: [PATCH 012/182] devicetree: bindings: Document qcom,saw2 node
5
6 The saw2 binding describes the SPM/AVS wrapper hardware used to
7 control the regulator supplying voltage to the Krait CPUs.
8
9 Cc: <devicetree@vger.kernel.org>
10 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
11 Signed-off-by: Kumar Gala <galak@codeaurora.org>
12 ---
13 .../devicetree/bindings/arm/msm/qcom,saw2.txt | 35 ++++++++++++++++++++
14 1 file changed, 35 insertions(+)
15 create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt
16
17 --- /dev/null
18 +++ b/Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt
19 @@ -0,0 +1,35 @@
20 +SPM AVS Wrapper 2 (SAW2)
21 +
22 +The SAW2 is a wrapper around the Subsystem Power Manager (SPM) and the
23 +Adaptive Voltage Scaling (AVS) hardware. The SPM is a programmable
24 +micro-controller that transitions a piece of hardware (like a processor or
25 +subsystem) into and out of low power modes via a direct connection to
26 +the PMIC. It can also be wired up to interact with other processors in the
27 +system, notifying them when a low power state is entered or exited.
28 +
29 +PROPERTIES
30 +
31 +- compatible:
32 + Usage: required
33 + Value type: <string>
34 + Definition: shall contain "qcom,saw2". A more specific value should be
35 + one of:
36 + "qcom,saw2-v1"
37 + "qcom,saw2-v1.1"
38 + "qcom,saw2-v2"
39 + "qcom,saw2-v2.1"
40 +
41 +- reg:
42 + Usage: required
43 + Value type: <prop-encoded-array>
44 + Definition: the first element specifies the base address and size of
45 + the register region. An optional second element specifies
46 + the base address and size of the alias register region.
47 +
48 +
49 +Example:
50 +
51 + regulator@2099000 {
52 + compatible = "qcom,saw2";
53 + reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
54 + };