Merge tag 'pstore-v4.20-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / adi,adau1977.txt
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:
20  - reset-gpio:  the reset pin for the chip, for more details consult
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
26 For required properties on SPI, please consult
27 Documentation/devicetree/bindings/spi/spi-bus.txt
28
29 Required properties on I2C:
30
31  - reg:         The i2c address. Value depends on the state of ADDR0
32                 and ADDR1, as wired in hardware.
33
34 Examples:
35
36         adau1977_spi: adau1977@0 {
37                 compatible = "adi,adau1977";
38                 spi-max-frequency = <600000>;
39
40                 AVDD-supply = <&regulator>;
41                 DVDD-supply = <&regulator_digital>;
42
43                 reset_gpio = <&gpio 10 GPIO_ACTIVE_LOW>;
44         };
45
46         adau1977_i2c: adau1977@11 {
47                 compatible = "adi,adau1977";
48                 reg = <0x11>;
49
50                 AVDD-supply = <&regulator>;
51                 DVDD-supply = <&regulator_digital>;
52
53                 reset_gpio = <&gpio 10 GPIO_ACTIVE_LOW>;
54         };