diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-11-10 01:15:09 +0000 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-11-30 16:33:38 -0800 |
commit | 64dfbe240f47f672957ff0fadf98583f0412e7e6 (patch) | |
tree | c589ca3c905205980c6e32acd76a577fb2163813 /Documentation/devicetree/bindings/clock | |
parent | 198bb59493f810ece01e56e9694bfdb39b5aa056 (diff) | |
download | op-kernel-dev-64dfbe240f47f672957ff0fadf98583f0412e7e6.zip op-kernel-dev-64dfbe240f47f672957ff0fadf98583f0412e7e6.tar.gz |
clk: add CS2000 Fractional-N driver
This patch adds CS2000 Fractional-N driver as clock provider.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
[sboyd@codeaurora.org: Fix unsigned checked for < 0 in
cs2000_ratio_get()]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree/bindings/clock')
-rw-r--r-- | Documentation/devicetree/bindings/clock/cs2000-cp.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/cs2000-cp.txt b/Documentation/devicetree/bindings/clock/cs2000-cp.txt new file mode 100644 index 0000000..54e6df0 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/cs2000-cp.txt @@ -0,0 +1,22 @@ +CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier + +Required properties: + +- compatible: "cirrus,cs2000-cp" +- reg: The chip select number on the I2C bus +- clocks: common clock binding for CLK_IN, XTI/REF_CLK +- clock-names: CLK_IN : clk_in, XTI/REF_CLK : ref_clk +- #clock-cells: must be <0> + +Example: + +&i2c2 { + ... + cs2000: clk_multiplier@4f { + #clock-cells = <0>; + compatible = "cirrus,cs2000-cp"; + reg = <0x4f>; + clocks = <&rcar_sound 0>, <&x12_clk>; + clock-names = "clk_in", "ref_clk"; + }; +}; |