Merge remote-tracking branch 'sound-asoc/for-next'
[deliverable/linux.git] / Documentation / devicetree / bindings / sound / pcm512x.txt
CommitLineData
5a3af129
MB
1PCM512x audio CODECs
2
3These devices support both I2C and SPI (configured with pin strapping
4on the board).
5
6Required properties:
7
ba5295e5
PR
8 - compatible : One of "ti,pcm5121", "ti,pcm5122", "ti,pcm5141" or
9 "ti,pcm5142"
5a3af129
MB
10
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
f086ba9d
PR
20 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.
5a3af129 23
f086ba9d
PR
24 - 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:
5a3af129
MB
30
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 };
f086ba9d
PR
39
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 };
This page took 0.183705 seconds and 5 git commands to generate.