Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Analog Devices ADAU1701 |
| 2 | |
| 3 | Required properties: |
| 4 | |
| 5 | - compatible: Should contain "adi,adau1701" |
| 6 | - reg: The i2c address. Value depends on the state of ADDR0 |
| 7 | and ADDR1, as wired in hardware. |
| 8 | |
| 9 | Optional properties: |
| 10 | |
| 11 | - reset-gpio: A GPIO spec to define which pin is connected to the |
| 12 | chip's !RESET pin. If specified, the driver will |
| 13 | assert a hardware reset at probe time. |
| 14 | - adi,pll-mode-gpios: An array of two GPIO specs to describe the GPIOs |
| 15 | the ADAU's PLL config pins are connected to. |
| 16 | The state of the pins are set according to the |
| 17 | configured clock divider on ASoC side before the |
| 18 | firmware is loaded. |
| 19 | - adi,pin-config: An array of 12 numerical values selecting one of the |
| 20 | pin configurations as described in the datasheet, |
| 21 | table 53. Note that the value of this property has |
| 22 | to be prefixed with '/bits/ 8'. |
| 23 | - avdd-supply: Power supply for AVDD, providing 3.3V |
| 24 | - dvdd-supply: Power supply for DVDD, providing 3.3V |
| 25 | |
| 26 | Examples: |
| 27 | |
| 28 | i2c_bus { |
| 29 | adau1701@34 { |
| 30 | compatible = "adi,adau1701"; |
| 31 | reg = <0x34>; |
| 32 | reset-gpio = <&gpio 23 0>; |
| 33 | avdd-supply = <&vdd_3v3_reg>; |
| 34 | dvdd-supply = <&vdd_3v3_reg>; |
| 35 | adi,pll-mode-gpios = <&gpio 24 0 &gpio 25 0>; |
| 36 | adi,pin-config = /bits/ 8 <0x4 0x7 0x5 0x5 0x4 0x4 |
| 37 | 0x4 0x4 0x4 0x4 0x4 0x4>; |
| 38 | }; |
| 39 | }; |