diff options
author | Andrew F. Davis <afd@ti.com> | 2017-12-05 15:52:55 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-06 08:06:05 -0500 |
commit | eb2a8168b9fd69f66199d9d7e86d23fecfab4e33 (patch) | |
tree | a49aaf9583ae1143f95bb82acc61a2b93f20a955 | |
parent | 993a3450712b2a723689b6b6b1a7fe6fe053708e (diff) |
ASoC: pcm186x: Add PCM186x binding documentation
Add the dt-binding documentation for the TI PCM186x 2ch and 4ch Audio
ADCs With Universal Front End.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/sound/pcm186x.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/pcm186x.txt b/Documentation/devicetree/bindings/sound/pcm186x.txt new file mode 100644 index 000000000000..1087f4855980 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/pcm186x.txt | |||
@@ -0,0 +1,42 @@ | |||
1 | Texas Instruments PCM186x Universal Audio ADC | ||
2 | |||
3 | These devices support both I2C and SPI (configured with pin strapping | ||
4 | on the board). | ||
5 | |||
6 | Required properties: | ||
7 | |||
8 | - compatible : "ti,pcm1862", | ||
9 | "ti,pcm1863", | ||
10 | "ti,pcm1864", | ||
11 | "ti,pcm1865" | ||
12 | |||
13 | - reg : The I2C address of the device for I2C, the chip select | ||
14 | number for SPI. | ||
15 | |||
16 | - avdd-supply: Analog core power supply (3.3v) | ||
17 | - dvdd-supply: Digital core power supply | ||
18 | - iovdd-supply: Digital IO power supply | ||
19 | See regulator/regulator.txt for more information | ||
20 | |||
21 | CODEC input pins: | ||
22 | * VINL1 | ||
23 | * VINR1 | ||
24 | * VINL2 | ||
25 | * VINR2 | ||
26 | * VINL3 | ||
27 | * VINR3 | ||
28 | * VINL4 | ||
29 | * VINR4 | ||
30 | |||
31 | The pins can be used in referring sound node's audio-routing property. | ||
32 | |||
33 | Example: | ||
34 | |||
35 | pcm186x: audio-codec@4a { | ||
36 | compatible = "ti,pcm1865"; | ||
37 | reg = <0x4a>; | ||
38 | |||
39 | avdd-supply = <®_3v3_analog>; | ||
40 | dvdd-supply = <®_3v3>; | ||
41 | iovdd-supply = <®_1v8>; | ||
42 | }; | ||