Commit | Line | Data |
---|---|---|
5a3af129 MB |
1 | PCM512x audio CODECs |
2 | ||
3 | These devices support both I2C and SPI (configured with pin strapping | |
4 | on the board). | |
5 | ||
6 | Required properties: | |
7 | ||
8 | - compatible : One of "ti,pcm5121" or "ti,pcm5122" | |
9 | ||
10 | - reg : the I2C address of the device for I2C, the chip select | |
11 | number for SPI. | |
12 | ||
13 | - AVDD-supply, DVDD-supply, and CPVDD-supply : power supplies for the | |
14 | device, as covered in bindings/regulator/regulator.txt | |
15 | ||
16 | Optional properties: | |
17 | ||
18 | - clocks : A clock specifier for the clock connected as SCLK. If this | |
19 | is absent the device will be configured to clock from BCLK. | |
20 | ||
21 | Example: | |
22 | ||
23 | pcm5122: pcm5122@4c { | |
24 | compatible = "ti,pcm5122"; | |
25 | reg = <0x4c>; | |
26 | ||
27 | AVDD-supply = <®_3v3_analog>; | |
28 | DVDD-supply = <®_1v8>; | |
29 | CPVDD-supply = <®_3v3>; | |
30 | }; |