Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Bindings for Texas Instruments CDCE706 programmable 3-PLL clock |
| 2 | synthesizer/multiplier/divider. |
| 3 | |
| 4 | Reference: https://www.ti.com/lit/ds/symlink/cdce706.pdf |
| 5 | |
| 6 | I2C device node required properties: |
| 7 | - compatible: shall be "ti,cdce706". |
| 8 | - reg: i2c device address, shall be in range [0x68...0x6b]. |
| 9 | - #clock-cells: from common clock binding; shall be set to 1. |
| 10 | - clocks: from common clock binding; list of parent clock |
| 11 | handles, shall be reference clock(s) connected to CLK_IN0 |
| 12 | and CLK_IN1 pins. |
| 13 | - clock-names: shall be clk_in0 and/or clk_in1. Use clk_in0 |
| 14 | in case of crystal oscillator or differential signal input |
| 15 | configuration. Use clk_in0 and clk_in1 in case of independent |
| 16 | single-ended LVCMOS inputs configuration. |
| 17 | |
| 18 | Example: |
| 19 | |
| 20 | clocks { |
| 21 | clk54: clk54 { |
| 22 | #clock-cells = <0>; |
| 23 | compatible = "fixed-clock"; |
| 24 | clock-frequency = <54000000>; |
| 25 | }; |
| 26 | }; |
| 27 | ... |
| 28 | i2c0: i2c-master@d090000 { |
| 29 | ... |
| 30 | cdce706: clock-synth@69 { |
| 31 | compatible = "ti,cdce706"; |
| 32 | #clock-cells = <1>; |
| 33 | reg = <0x69>; |
| 34 | clocks = <&clk54>; |
| 35 | clock-names = "clk_in0"; |
| 36 | }; |
| 37 | }; |
| 38 | ... |
| 39 | simple-audio-card,codec { |
| 40 | ... |
| 41 | clocks = <&cdce706 4>; |
| 42 | }; |