xref: /freebsd/sys/contrib/device-tree/Bindings/sound/pcm186x.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotTexas Instruments PCM186x Universal Audio ADC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThese devices support both I2C and SPI (configured with pin strapping
4*c66ec88fSEmmanuel Vadoton the board).
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot - compatible : "ti,pcm1862",
9*c66ec88fSEmmanuel Vadot                "ti,pcm1863",
10*c66ec88fSEmmanuel Vadot                "ti,pcm1864",
11*c66ec88fSEmmanuel Vadot                "ti,pcm1865"
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot - reg : The I2C address of the device for I2C, the chip select
14*c66ec88fSEmmanuel Vadot         number for SPI.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot - avdd-supply: Analog core power supply (3.3v)
17*c66ec88fSEmmanuel Vadot - dvdd-supply: Digital core power supply
18*c66ec88fSEmmanuel Vadot - iovdd-supply: Digital IO power supply
19*c66ec88fSEmmanuel Vadot        See regulator/regulator.txt for more information
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel VadotCODEC input pins:
22*c66ec88fSEmmanuel Vadot * VINL1
23*c66ec88fSEmmanuel Vadot * VINR1
24*c66ec88fSEmmanuel Vadot * VINL2
25*c66ec88fSEmmanuel Vadot * VINR2
26*c66ec88fSEmmanuel Vadot * VINL3
27*c66ec88fSEmmanuel Vadot * VINR3
28*c66ec88fSEmmanuel Vadot * VINL4
29*c66ec88fSEmmanuel Vadot * VINR4
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel VadotThe pins can be used in referring sound node's audio-routing property.
32*c66ec88fSEmmanuel Vadot
33*c66ec88fSEmmanuel VadotExample:
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot	pcm186x: audio-codec@4a {
36*c66ec88fSEmmanuel Vadot		compatible = "ti,pcm1865";
37*c66ec88fSEmmanuel Vadot		reg = <0x4a>;
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot		avdd-supply = <&reg_3v3_analog>;
40*c66ec88fSEmmanuel Vadot		dvdd-supply = <&reg_3v3>;
41*c66ec88fSEmmanuel Vadot		iovdd-supply = <&reg_1v8>;
42*c66ec88fSEmmanuel Vadot	};
43