]> Pileus Git - ~andy/linux/blob - Documentation/devicetree/bindings/sound/tlv320aic3x.txt
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / 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,tlv320aic32x4" - TLV320AIC32x4
10     "ti,tlv320aic33" - TLV320AIC33
11     "ti,tlv320aic3007" - TLV320AIC3007
12     "ti,tlv320aic3106" - TLV320AIC3106
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 - ai3x-micbias-vg - MicBias Voltage required.
23         1 - MICBIAS output is powered to 2.0V,
24         2 - MICBIAS output is powered to 2.5V,
25         3 - MICBIAS output is connected to AVDD,
26         If this node is not mentioned or if the value is incorrect, then MicBias
27         is powered down.
28 - AVDD-supply, IOVDD-supply, DRVDD-supply, DVDD-supply : power supplies for the
29   device as covered in Documentation/devicetree/bindings/regulator/regulator.txt
30
31 CODEC output pins:
32   * LLOUT
33   * RLOUT
34   * MONO_LOUT
35   * HPLOUT
36   * HPROUT
37   * HPLCOM
38   * HPRCOM
39
40 CODEC input pins:
41   * MIC3L
42   * MIC3R
43   * LINE1L
44   * LINE2L
45   * LINE1R
46   * LINE2R
47
48 The pins can be used in referring sound node's audio-routing property.
49
50 Example:
51
52 tlv320aic3x: tlv320aic3x@1b {
53         compatible = "ti,tlv320aic3x";
54         reg = <0x1b>;
55
56         AVDD-supply = <&regulator>;
57         IOVDD-supply = <&regulator>;
58         DRVDD-supply = <&regulator>;
59         DVDD-supply = <&regulator>;
60 };