blob: 3aae3b41bd8e8f48ed4af639b312690d7c6f9a33 [file] [log] [blame]
Mark Brown5a3af122014-02-06 12:03:27 +00001PCM512x audio CODECs
2
3These devices support both I2C and SPI (configured with pin strapping
4on the board).
5
6Required properties:
7
Peter Rosinba5295e2014-12-09 09:28:09 +01008 - compatible : One of "ti,pcm5121", "ti,pcm5122", "ti,pcm5141" or
9 "ti,pcm5142"
Mark Brown5a3af122014-02-06 12:03:27 +000010
11 - reg : the I2C address of the device for I2C, the chip select
12 number for SPI.
13
14 - AVDD-supply, DVDD-supply, and CPVDD-supply : power supplies for the
15 device, as covered in bindings/regulator/regulator.txt
16
17Optional properties:
18
19 - clocks : A clock specifier for the clock connected as SCLK. If this
Peter Rosinf086ba92015-01-28 15:16:10 +010020 is absent the device will be configured to clock from BCLK. If pll-in
21 and pll-out are specified in addition to a clock, the device is
22 configured to accept clock input on a specified gpio pin.
Mark Brown5a3af122014-02-06 12:03:27 +000023
Peter Rosinf086ba92015-01-28 15:16:10 +010024 - pll-in, pll-out : gpio pins used to connect the pll using <1>
25 through <6>. The device will be configured for clock input on the
26 given pll-in pin and PLL output on the given pll-out pin. An
27 external connection from the pll-out pin to the SCLK pin is assumed.
28
29Examples:
Mark Brown5a3af122014-02-06 12:03:27 +000030
31 pcm5122: pcm5122@4c {
32 compatible = "ti,pcm5122";
33 reg = <0x4c>;
34
35 AVDD-supply = <&reg_3v3_analog>;
36 DVDD-supply = <&reg_1v8>;
37 CPVDD-supply = <&reg_3v3>;
38 };
Peter Rosinf086ba92015-01-28 15:16:10 +010039
40
41 pcm5142: pcm5142@4c {
42 compatible = "ti,pcm5142";
43 reg = <0x4c>;
44
45 AVDD-supply = <&reg_3v3_analog>;
46 DVDD-supply = <&reg_1v8>;
47 CPVDD-supply = <&reg_3v3>;
48
49 clocks = <&sck>;
50 pll-in = <3>;
51 pll-out = <6>;
52 };