diff options
author | Gabriel FERNANDEZ <gabriel.fernandez@st.com> | 2014-02-27 10:24:23 -0500 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-03-25 18:59:31 -0400 |
commit | 43080568f7d5dc4e31d90246b9e80e9b4112975c (patch) | |
tree | a728aaaf3c248753fb384dabd75cf3cef4ce684f | |
parent | e83c4e4d19736a77e28ce3c87e5c9e6d6bd88773 (diff) |
clk: st: Adds quadfs clock binding
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/clock/st/st,quadfs.txt | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/st/st,quadfs.txt b/Documentation/devicetree/bindings/clock/st/st,quadfs.txt new file mode 100644 index 000000000000..ec86d62ca283 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/st/st,quadfs.txt | |||
@@ -0,0 +1,45 @@ | |||
1 | Binding for a type of quad channel digital frequency synthesizer found on | ||
2 | certain STMicroelectronics consumer electronics SoC devices. | ||
3 | |||
4 | This version contains a programmable PLL which can generate up to 216, 432 | ||
5 | or 660MHz (from a 30MHz oscillator input) as the input to the digital | ||
6 | synthesizers. | ||
7 | |||
8 | This binding uses the common clock binding[1]. | ||
9 | |||
10 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
11 | |||
12 | Required properties: | ||
13 | - compatible : shall be: | ||
14 | "st,stih416-quadfs216", "st,quadfs" | ||
15 | "st,stih416-quadfs432", "st,quadfs" | ||
16 | "st,stih416-quadfs660-E", "st,quadfs" | ||
17 | "st,stih416-quadfs660-F", "st,quadfs" | ||
18 | |||
19 | - #clock-cells : from common clock binding; shall be set to 1. | ||
20 | |||
21 | - reg : A Base address and length of the register set. | ||
22 | |||
23 | - clocks : from common clock binding | ||
24 | |||
25 | - clock-output-names : From common clock binding. The block has 4 | ||
26 | clock outputs but not all of them in a specific instance | ||
27 | have to be used in the SoC. If a clock name is left as | ||
28 | an empty string then no clock will be created for the | ||
29 | output associated with that string index. If fewer than | ||
30 | 4 strings are provided then no clocks will be created | ||
31 | for the remaining outputs. | ||
32 | |||
33 | Example: | ||
34 | |||
35 | CLOCKGEN_E: CLOCKGEN_E { | ||
36 | #clock-cells = <1>; | ||
37 | compatible = "st,stih416-quadfs660-E", "st,quadfs"; | ||
38 | reg = <0xfd3208bc 0xB0>; | ||
39 | |||
40 | clocks = <&CLK_SYSIN>; | ||
41 | clock-output-names = "CLK_M_PIX_MDTP_0", | ||
42 | "CLK_M_PIX_MDTP_1", | ||
43 | "CLK_M_PIX_MDTP_2", | ||
44 | "CLK_M_MPELPC"; | ||
45 | }; | ||