diff options
author | Tomasz Figa <t.figa@samsung.com> | 2014-06-24 12:08:26 -0400 |
---|---|---|
committer | Tomasz Figa <t.figa@samsung.com> | 2014-07-25 20:47:10 -0400 |
commit | 1e832e51018e960ecfc6f04abb1cbdd1ed82b8cb (patch) | |
tree | 1323f19d7d3d3053056d6eba949e07f79b8bfed6 /Documentation | |
parent | 01f7ec260ab35291f23bf42b1a43367649392646 (diff) |
clk: samsung: Add driver to control CLKOUT line on Exynos SoCs
This patch introduces a driver that handles configuration of CLKOUT pin
of Exynos SoCs that can be used to output certain clocks from inside of
the SoC to a dedicated output pin.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/arm/samsung/pmu.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.txt b/Documentation/devicetree/bindings/arm/samsung/pmu.txt index 2a4ab046a8a1..f9865e77e0b0 100644 --- a/Documentation/devicetree/bindings/arm/samsung/pmu.txt +++ b/Documentation/devicetree/bindings/arm/samsung/pmu.txt | |||
@@ -12,8 +12,38 @@ Properties: | |||
12 | 12 | ||
13 | - reg : offset and length of the register set. | 13 | - reg : offset and length of the register set. |
14 | 14 | ||
15 | - #clock-cells : must be <1>, since PMU requires once cell as clock specifier. | ||
16 | The single specifier cell is used as index to list of clocks | ||
17 | provided by PMU, which is currently: | ||
18 | 0 : SoC clock output (CLKOUT pin) | ||
19 | |||
20 | - clock-names : list of clock names for particular CLKOUT mux inputs in | ||
21 | following format: | ||
22 | "clkoutN", where N is a decimal number corresponding to | ||
23 | CLKOUT mux control bits value for given input, e.g. | ||
24 | "clkout0", "clkout7", "clkout15". | ||
25 | |||
26 | - clocks : list of phandles and specifiers to all input clocks listed in | ||
27 | clock-names property. | ||
28 | |||
15 | Example : | 29 | Example : |
16 | pmu_system_controller: system-controller@10040000 { | 30 | pmu_system_controller: system-controller@10040000 { |
17 | compatible = "samsung,exynos5250-pmu", "syscon"; | 31 | compatible = "samsung,exynos5250-pmu", "syscon"; |
18 | reg = <0x10040000 0x5000>; | 32 | reg = <0x10040000 0x5000>; |
33 | #clock-cells = <1>; | ||
34 | clock-names = "clkout0", "clkout1", "clkout2", "clkout3", | ||
35 | "clkout4", "clkout8", "clkout9"; | ||
36 | clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>, | ||
37 | <&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>, | ||
38 | <&clock CLK_OUT_CPU>, <&clock CLK_XXTI>, | ||
39 | <&clock CLK_XUSBXTI>; | ||
40 | }; | ||
41 | |||
42 | Example of clock consumer : | ||
43 | |||
44 | usb3503: usb3503@08 { | ||
45 | /* ... */ | ||
46 | clock-names = "refclk"; | ||
47 | clocks = <&pmu_system_controller 0>; | ||
48 | /* ... */ | ||
19 | }; | 49 | }; |