Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / tlv320aic3x.txt
1 Texas Instruments - tlv320aic3x Codec module
2
3 The tlv320aic3x serial control bus communicates through I2C protocols
4
5 Required properties:
6
7 - compatible - "string" - One of:
8     "ti,tlv320aic3x" - Generic TLV320AIC3x device
9     "ti,tlv320aic33" - TLV320AIC33
10     "ti,tlv320aic3007" - TLV320AIC3007
11     "ti,tlv320aic3106" - TLV320AIC3106
12     "ti,tlv320aic3104" - TLV320AIC3104
13
14
15 - reg - <int> -  I2C slave address
16
17
18 Optional properties:
19
20 - gpio-reset - gpio pin number used for codec reset
21 - ai3x-gpio-func - <array of 2 int> - AIC3X_GPIO1 & AIC3X_GPIO2 Functionality
22                                     - Not supported on tlv320aic3104
23 - ai3x-micbias-vg - MicBias Voltage required.
24         1 - MICBIAS output is powered to 2.0V,
25         2 - MICBIAS output is powered to 2.5V,
26         3 - MICBIAS output is connected to AVDD,
27         If this node is not mentioned or if the value is incorrect, then MicBias
28         is powered down.
29 - ai3x-ocmv - Output Common-Mode Voltage selection:
30         0 - 1.35V,
31         1 - 1.5V,
32         2 - 1.65V,
33         3 - 1.8V
34 - AVDD-supply, IOVDD-supply, DRVDD-supply, DVDD-supply : power supplies for the
35   device as covered in Documentation/devicetree/bindings/regulator/regulator.txt
36
37 CODEC output pins:
38   * LLOUT
39   * RLOUT
40   * MONO_LOUT
41   * HPLOUT
42   * HPROUT
43   * HPLCOM
44   * HPRCOM
45
46 CODEC input pins for TLV320AIC3104:
47   * MIC2L
48   * MIC2R
49   * LINE1L
50   * LINE1R
51
52 CODEC input pins for other compatible codecs:
53   * MIC3L
54   * MIC3R
55   * LINE1L
56   * LINE2L
57   * LINE1R
58   * LINE2R
59
60 The pins can be used in referring sound node's audio-routing property.
61
62 Example:
63
64 tlv320aic3x: tlv320aic3x@1b {
65         compatible = "ti,tlv320aic3x";
66         reg = <0x1b>;
67
68         AVDD-supply = <&regulator>;
69         IOVDD-supply = <&regulator>;
70         DRVDD-supply = <&regulator>;
71         DVDD-supply = <&regulator>;
72 };