Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andrew F. Davis and committed by
Mark Brown
eb2a8168 993a3450

+42
+42
Documentation/devicetree/bindings/sound/pcm186x.txt
··· 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 = <&reg_3v3_analog>; 40 + dvdd-supply = <&reg_3v3>; 41 + iovdd-supply = <&reg_1v8>; 42 + };