diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2013-04-12 13:57:44 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-04-12 10:52:23 -0700 |
commit | 79b16641efabd14944dbfc2fde2ae1e8ae8413bc (patch) | |
tree | 444048b6f6b4ec48aea660d446e411194622e785 /Documentation | |
parent | fb72a0590b770f7da6a02bde6b8a147a3d9f6168 (diff) | |
download | op-kernel-dev-79b16641efabd14944dbfc2fde2ae1e8ae8413bc.zip op-kernel-dev-79b16641efabd14944dbfc2fde2ae1e8ae8413bc.tar.gz |
clk: add device tree fixed-factor-clock binding support
Add support for DT "fixed-factor-clock" binding to the common fixed
factor clock support.
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Christian Ruppert <christian.ruppert@abilis.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/clock/fixed-factor-clock.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/fixed-factor-clock.txt b/Documentation/devicetree/bindings/clock/fixed-factor-clock.txt new file mode 100644 index 0000000..5757f9a --- /dev/null +++ b/Documentation/devicetree/bindings/clock/fixed-factor-clock.txt @@ -0,0 +1,24 @@ +Binding for simple fixed factor rate clock sources. + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible : shall be "fixed-factor-clock". +- #clock-cells : from common clock binding; shall be set to 0. +- clock-div: fixed divider. +- clock-mult: fixed multiplier. +- clocks: parent clock. + +Optional properties: +- clock-output-names : From common clock binding. + +Example: + clock { + compatible = "fixed-factor-clock"; + clocks = <&parentclk>; + #clock-cells = <0>; + div = <2>; + mult = <1>; + }; |