aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mfd
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-03-17 05:19:18 -0400
committerLee Jones <lee.jones@linaro.org>2014-03-19 05:00:06 -0400
commitb6ab7a8ffea526eb539f6508e3c4b9e47f04c4f2 (patch)
treeafae76c2a8a34f2b502b1d7786da4728c857b5b9 /Documentation/devicetree/bindings/mfd
parent3827c510b5a9a97017ecabdfca2ae7a6c29e2385 (diff)
Documentation: mfd: s2mps11: Describe S5M8767 and S2MPS14 clocks
Add bindings documentation for clocks on S5M8767 and S2MPS14 devices. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd')
-rw-r--r--Documentation/devicetree/bindings/mfd/s2mps11.txt24
1 files changed, 15 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/mfd/s2mps11.txt b/Documentation/devicetree/bindings/mfd/s2mps11.txt
index 15ee89c3cc7b..67ea05ca8050 100644
--- a/Documentation/devicetree/bindings/mfd/s2mps11.txt
+++ b/Documentation/devicetree/bindings/mfd/s2mps11.txt
@@ -16,20 +16,25 @@ Optional properties:
16- interrupts: Interrupt specifiers for interrupt sources. 16- interrupts: Interrupt specifiers for interrupt sources.
17 17
18Optional nodes: 18Optional nodes:
19- clocks: s2mps11 provides three(AP/CP/BT) buffered 32.768 KHz outputs, so to 19- clocks: s2mps11 and s5m8767 provide three(AP/CP/BT) buffered 32.768 KHz
20 register these as clocks with common clock framework instantiate a sub-node 20 outputs, so to register these as clocks with common clock framework
21 named "clocks". It uses the common clock binding documented in : 21 instantiate a sub-node named "clocks". It uses the common clock binding
22 documented in :
22 [Documentation/devicetree/bindings/clock/clock-bindings.txt] 23 [Documentation/devicetree/bindings/clock/clock-bindings.txt]
24 The s2mps14 provides two (AP/BT) buffered 32.768 KHz outputs.
23 - #clock-cells: should be 1. 25 - #clock-cells: should be 1.
24 26
25 - The following is the list of clocks generated by the controller. Each clock 27 - The following is the list of clocks generated by the controller. Each clock
26 is assigned an identifier and client nodes use this identifier to specify 28 is assigned an identifier and client nodes use this identifier to specify
27 the clock which they consume. 29 the clock which they consume.
28 Clock ID 30 Clock ID Devices
29 ---------------------- 31 ----------------------------------------------------------
30 32KhzAP 0 32 32KhzAP 0 S2MPS11, S2MPS14, S5M8767
31 32KhzCP 1 33 32KhzCP 1 S2MPS11, S5M8767
32 32KhzBT 2 34 32KhzBT 2 S2MPS11, S2MPS14, S5M8767
35
36 - compatible: Should be one of: "samsung,s2mps11-clk", "samsung,s2mps14-clk",
37 "samsung,s5m8767-clk"
33 38
34- regulators: The regulators of s2mps11 that have to be instantiated should be 39- regulators: The regulators of s2mps11 that have to be instantiated should be
35included in a sub-node named 'regulators'. Regulator nodes included in this 40included in a sub-node named 'regulators'. Regulator nodes included in this
@@ -71,7 +76,8 @@ Example:
71 compatible = "samsung,s2mps11-pmic"; 76 compatible = "samsung,s2mps11-pmic";
72 reg = <0x66>; 77 reg = <0x66>;
73 78
74 s2m_osc: clocks{ 79 s2m_osc: clocks {
80 compatible = "samsung,s2mps11-clk";
75 #clock-cells = 1; 81 #clock-cells = 1;
76 clock-output-names = "xx", "yy", "zz"; 82 clock-output-names = "xx", "yy", "zz";
77 }; 83 };