GNU Linux-libre 4.14.324-gnu1
[releases.git] / Documentation / devicetree / bindings / clock / fixed-factor-clock.txt
1 Binding for simple fixed factor rate clock sources.
2
3 This binding uses the common clock binding[1].
4
5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
6
7 Required properties:
8 - compatible : shall be "fixed-factor-clock".
9 - #clock-cells : from common clock binding; shall be set to 0.
10 - clock-div: fixed divider.
11 - clock-mult: fixed multiplier.
12 - clocks: parent clock.
13
14 Optional properties:
15 - clock-output-names : From common clock binding.
16
17 Some clocks that require special treatments are also handled by that
18 driver, with the compatibles:
19   - allwinner,sun4i-a10-pll3-2x-clk
20
21 Example:
22         clock {
23                 compatible = "fixed-factor-clock";
24                 clocks = <&parentclk>;
25                 #clock-cells = <0>;
26                 clock-div = <2>;
27                 clock-mult = <1>;
28         };