diff options
author | Yadwinder Singh Brar <yadi.brar@samsung.com> | 2013-07-07 07:44:21 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-08-14 13:53:15 -0400 |
commit | 3134bcae4f70d56df31a5b024c54115d4f504727 (patch) | |
tree | 76eeb38756489d2fced9b4e51e4c8a76c83ccd0c /Documentation/devicetree | |
parent | 44955ab50af17ac23ca2c5c17d91eb19daadae8b (diff) |
mfd: sec: Add clock cell for s2mps11
This patch adds clock to list of mfd cells for s2mps11 and DT documentation
for clock part.
Reviewed-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/s2mps11.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/s2mps11.txt b/Documentation/devicetree/bindings/mfd/s2mps11.txt index 36e051b223c8..c9332c626021 100644 --- a/Documentation/devicetree/bindings/mfd/s2mps11.txt +++ b/Documentation/devicetree/bindings/mfd/s2mps11.txt | |||
@@ -16,6 +16,21 @@ Optional properties: | |||
16 | - interrupts: Interrupt specifiers for interrupt sources. | 16 | - interrupts: Interrupt specifiers for interrupt sources. |
17 | 17 | ||
18 | Optional nodes: | 18 | Optional nodes: |
19 | - clocks: s2mps11 provides three(AP/CP/BT) buffered 32.768 KHz outputs, so to | ||
20 | register these as clocks with common clock framework instantiate a sub-node | ||
21 | named "clocks". It uses the common clock binding documented in : | ||
22 | [Documentation/devicetree/bindings/clock/clock-bindings.txt] | ||
23 | - #clock-cells: should be 1. | ||
24 | |||
25 | - 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 | ||
27 | the clock which they consume. | ||
28 | Clock ID | ||
29 | ---------------------- | ||
30 | 32KhzAP 0 | ||
31 | 32KhzCP 1 | ||
32 | 32KhzBT 2 | ||
33 | |||
19 | - regulators: The regulators of s2mps11 that have to be instantiated should be | 34 | - regulators: The regulators of s2mps11 that have to be instantiated should be |
20 | included in a sub-node named 'regulators'. Regulator nodes included in this | 35 | included in a sub-node named 'regulators'. Regulator nodes included in this |
21 | sub-node should be of the format as listed below. | 36 | sub-node should be of the format as listed below. |
@@ -55,6 +70,11 @@ Example: | |||
55 | compatible = "samsung,s2mps11-pmic"; | 70 | compatible = "samsung,s2mps11-pmic"; |
56 | reg = <0x66>; | 71 | reg = <0x66>; |
57 | 72 | ||
73 | s2m_osc: clocks{ | ||
74 | #clock-cells = 1; | ||
75 | clock-output-names = "xx", "yy", "zz"; | ||
76 | }; | ||
77 | |||
58 | regulators { | 78 | regulators { |
59 | ldo1_reg: LDO1 { | 79 | ldo1_reg: LDO1 { |
60 | regulator-name = "VDD_ABB_3.3V"; | 80 | regulator-name = "VDD_ABB_3.3V"; |