Alexandru Ardelean | d5a5dcd | 2018-10-02 15:06:30 +0300 | [diff] [blame] | 1 | Analog Devices ADAU1977/ADAU1978/ADAU1979 |
| 2 | |
| 3 | Datasheets: |
| 4 | http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1977.pdf |
| 5 | http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1978.pdf |
| 6 | http://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1979.pdf |
| 7 | |
| 8 | This driver supports both the I2C and SPI bus. |
| 9 | |
| 10 | Required properties: |
| 11 | - compatible: Should contain one of the following: |
| 12 | "adi,adau1977" |
| 13 | "adi,adau1978" |
| 14 | "adi,adau1979" |
| 15 | |
| 16 | - AVDD-supply: analog power supply for the device, please consult |
| 17 | Documentation/devicetree/bindings/regulator/regulator.txt |
| 18 | |
| 19 | Optional properties: |
Bogdan Togorean | d98afe1 | 2019-02-15 12:26:33 +0200 | [diff] [blame] | 20 | - reset-gpios: the reset pin for the chip, for more details consult |
Alexandru Ardelean | d5a5dcd | 2018-10-02 15:06:30 +0300 | [diff] [blame] | 21 | Documentation/devicetree/bindings/gpio/gpio.txt |
| 22 | |
| 23 | - DVDD-supply: supply voltage for the digital core, please consult |
| 24 | Documentation/devicetree/bindings/regulator/regulator.txt |
| 25 | |
Bogdan Togorean | fb7a974 | 2019-02-19 16:11:38 +0200 | [diff] [blame] | 26 | - adi,micbias: configures the voltage setting for the MICBIAS pin. |
| 27 | Select 0/1/2/3/4/5/6/7/8 to specify MICBIAS voltage |
| 28 | 5V/5.5V/6V/6.5V/7V/7.5V/8V/8.5V/9V |
| 29 | If not specified the default value will be "7" meaning 8.5 Volts. |
| 30 | This property is only valid for the ADAU1977 |
| 31 | |
Alexandru Ardelean | d5a5dcd | 2018-10-02 15:06:30 +0300 | [diff] [blame] | 32 | For required properties on SPI, please consult |
| 33 | Documentation/devicetree/bindings/spi/spi-bus.txt |
| 34 | |
| 35 | Required properties on I2C: |
| 36 | |
| 37 | - reg: The i2c address. Value depends on the state of ADDR0 |
| 38 | and ADDR1, as wired in hardware. |
| 39 | |
| 40 | Examples: |
| 41 | |
| 42 | adau1977_spi: adau1977@0 { |
| 43 | compatible = "adi,adau1977"; |
| 44 | spi-max-frequency = <600000>; |
| 45 | |
| 46 | AVDD-supply = <®ulator>; |
| 47 | DVDD-supply = <®ulator_digital>; |
| 48 | |
Bogdan Togorean | fb7a974 | 2019-02-19 16:11:38 +0200 | [diff] [blame] | 49 | adi,micbias = <3>; |
Bogdan Togorean | d98afe1 | 2019-02-15 12:26:33 +0200 | [diff] [blame] | 50 | reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>; |
Alexandru Ardelean | d5a5dcd | 2018-10-02 15:06:30 +0300 | [diff] [blame] | 51 | }; |
| 52 | |
| 53 | adau1977_i2c: adau1977@11 { |
| 54 | compatible = "adi,adau1977"; |
| 55 | reg = <0x11>; |
| 56 | |
| 57 | AVDD-supply = <®ulator>; |
| 58 | DVDD-supply = <®ulator_digital>; |
| 59 | |
Bogdan Togorean | d98afe1 | 2019-02-15 12:26:33 +0200 | [diff] [blame] | 60 | reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>; |
Alexandru Ardelean | d5a5dcd | 2018-10-02 15:06:30 +0300 | [diff] [blame] | 61 | }; |