1*c66ec88fSEmmanuel VadotTexas Instruments pcm3168a DT bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis driver supports both SPI and I2C bus access for this codec
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties:
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot  - compatible: "ti,pcm3168a"
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot  - clocks : Contains an entry for each entry in clock-names
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot  - clock-names : Includes the following entries:
12*c66ec88fSEmmanuel Vadot	"scki"	The system clock
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot  - VDD1-supply : Digital power supply regulator 1 (+3.3V)
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot  - VDD2-supply : Digital power supply regulator 2 (+3.3V)
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot  - VCCAD1-supply : ADC power supply regulator 1 (+5V)
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot  - VCCAD2-supply : ADC power supply regulator 2 (+5V)
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot  - VCCDA1-supply : DAC power supply regulator 1 (+5V)
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot  - VCCDA2-supply : DAC power supply regulator 2 (+5V)
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel VadotFor required properties on SPI/I2C, consult SPI/I2C device tree documentation
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel VadotOptional properties:
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot  - reset-gpios : Optional reset gpio line connected to RST pin of the codec.
31*c66ec88fSEmmanuel Vadot		  The RST line is low active:
32*c66ec88fSEmmanuel Vadot		  RST = low: device power-down
33*c66ec88fSEmmanuel Vadot		  RST = high: device is enabled
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel VadotExamples:
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadoti2c0: i2c0@0 {
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot	...
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot	pcm3168a: audio-codec@44 {
42*c66ec88fSEmmanuel Vadot		compatible = "ti,pcm3168a";
43*c66ec88fSEmmanuel Vadot		reg = <0x44>;
44*c66ec88fSEmmanuel Vadot		reset-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
45*c66ec88fSEmmanuel Vadot		clocks = <&clk_core CLK_AUDIO>;
46*c66ec88fSEmmanuel Vadot		clock-names = "scki";
47*c66ec88fSEmmanuel Vadot		VDD1-supply = <&supply3v3>;
48*c66ec88fSEmmanuel Vadot		VDD2-supply = <&supply3v3>;
49*c66ec88fSEmmanuel Vadot		VCCAD1-supply = <&supply5v0>;
50*c66ec88fSEmmanuel Vadot		VCCAD2-supply = <&supply5v0>;
51*c66ec88fSEmmanuel Vadot		VCCDA1-supply = <&supply5v0>;
52*c66ec88fSEmmanuel Vadot		VCCDA2-supply = <&supply5v0>;
53*c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
54*c66ec88fSEmmanuel Vadot		pinctrl-0 = <&dac_clk_pin>;
55*c66ec88fSEmmanuel Vadot	};
56*c66ec88fSEmmanuel Vadot};
57