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 | |
| 17 | Example: |
| 18 | clock { |
| 19 | compatible = "fixed-factor-clock"; |
| 20 | clocks = <&parentclk>; |
| 21 | #clock-cells = <0>; |
| 22 | div = <2>; |
| 23 | mult = <1>; |
| 24 | }; |