blob: 189467a7188af15fe16978839643b02cd217fd77 [file] [log] [blame]
Gregory CLEMENT79b16642013-04-12 13:57:44 +02001Binding for simple fixed factor rate clock sources.
2
3This binding uses the common clock binding[1].
4
5[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
6
7Required 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
14Optional properties:
15- clock-output-names : From common clock binding.
16
Maxime Riparde6cbf992016-06-22 11:15:54 +020017Some clocks that require special treatments are also handled by that
18driver, with the compatibles:
19 - allwinner,sun4i-a10-pll3-2x-clk
20
Gregory CLEMENT79b16642013-04-12 13:57:44 +020021Example:
22 clock {
23 compatible = "fixed-factor-clock";
24 clocks = <&parentclk>;
25 #clock-cells = <0>;
Ezequiel Garciaf8815912013-09-25 16:10:18 -030026 clock-div = <2>;
27 clock-mult = <1>;
Gregory CLEMENT79b16642013-04-12 13:57:44 +020028 };