Anup Patel | b630d57 | 2019-02-25 08:14:55 +0000 | [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 | clock-div = <2>; |
| 23 | clock-mult = <1>; |
| 24 | }; |