Gregory CLEMENT | 79b1664 | 2013-04-12 13:57:44 +0200 | [diff] [blame] | 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 | |
Maxime Ripard | e6cbf99 | 2016-06-22 11:15:54 +0200 | [diff] [blame] | 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 | |
Gregory CLEMENT | 79b1664 | 2013-04-12 13:57:44 +0200 | [diff] [blame] | 21 | Example: |
| 22 | clock { |
| 23 | compatible = "fixed-factor-clock"; |
| 24 | clocks = <&parentclk>; |
| 25 | #clock-cells = <0>; |
Ezequiel Garcia | f881591 | 2013-09-25 16:10:18 -0300 | [diff] [blame] | 26 | clock-div = <2>; |
| 27 | clock-mult = <1>; |
Gregory CLEMENT | 79b1664 | 2013-04-12 13:57:44 +0200 | [diff] [blame] | 28 | }; |