Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / ti,pcm3168a.txt
1 Texas Instruments pcm3168a DT bindings
2
3 This driver supports both SPI and I2C bus access for this codec
4
5 Required properties:
6
7   - compatible: "ti,pcm3168a"
8
9   - clocks : Contains an entry for each entry in clock-names
10
11   - clock-names : Includes the following entries:
12         "scki"  The system clock
13
14   - VDD1-supply : Digital power supply regulator 1 (+3.3V)
15
16   - VDD2-supply : Digital power supply regulator 2 (+3.3V)
17
18   - VCCAD1-supply : ADC power supply regulator 1 (+5V)
19
20   - VCCAD2-supply : ADC power supply regulator 2 (+5V)
21
22   - VCCDA1-supply : DAC power supply regulator 1 (+5V)
23
24   - VCCDA2-supply : DAC power supply regulator 2 (+5V)
25
26 For required properties on SPI/I2C, consult SPI/I2C device tree documentation
27
28 Examples:
29
30 i2c0: i2c0@0 {
31
32         ...
33
34         pcm3168a: audio-codec@44 {
35                 compatible = "ti,pcm3168a";
36                 reg = <0x44>;
37                 clocks = <&clk_core CLK_AUDIO>;
38                 clock-names = "scki";
39                 VDD1-supply = <&supply3v3>;
40                 VDD2-supply = <&supply3v3>;
41                 VCCAD1-supply = <&supply5v0>;
42                 VCCAD2-supply = <&supply5v0>;
43                 VCCDA1-supply = <&supply5v0>;
44                 VCCDA2-supply = <&supply5v0>;
45                 pinctrl-names = "default";
46                 pinctrl-0 = <&dac_clk_pin>;
47         };
48 };