blob: 47a213c411ce922321e692ecca849390cbcd53e8 [file] [log] [blame]
Hebbar, Gururajac24fdc82012-08-27 18:56:44 +05301Texas Instruments - tlv320aic3x Codec module
2
3The tlv320aic3x serial control bus communicates through I2C protocols
4
5Required properties:
Mark Brownf2c4fa62013-07-16 13:36:05 +01006
7- compatible - "string" - One of:
8 "ti,tlv320aic3x" - Generic TLV320AIC3x device
9 "ti,tlv320aic33" - TLV320AIC33
10 "ti,tlv320aic3007" - TLV320AIC3007
Mark Browncbaa5682013-07-16 13:39:52 +010011 "ti,tlv320aic3106" - TLV320AIC3106
Jyri Sarha95031122015-02-02 16:48:05 +020012 "ti,tlv320aic3104" - TLV320AIC3104
Mark Brownf2c4fa62013-07-16 13:36:05 +010013
14
Hebbar, Gururajac24fdc82012-08-27 18:56:44 +053015- reg - <int> - I2C slave address
16
17
18Optional 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
Jyri Sarha95031122015-02-02 16:48:05 +020022 - Not supported on tlv320aic3104
Hebbar Gururajae2e8bfd2013-01-31 18:23:04 +053023- 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.
Jyri Sarhabe7c5922013-09-17 12:26:06 +030029- AVDD-supply, IOVDD-supply, DRVDD-supply, DVDD-supply : power supplies for the
30 device as covered in Documentation/devicetree/bindings/regulator/regulator.txt
Hebbar, Gururajac24fdc82012-08-27 18:56:44 +053031
Jyri Sarhac9f3de42013-09-17 12:26:07 +030032CODEC output pins:
33 * LLOUT
34 * RLOUT
35 * MONO_LOUT
36 * HPLOUT
37 * HPROUT
38 * HPLCOM
39 * HPRCOM
40
Jyri Sarha95031122015-02-02 16:48:05 +020041CODEC input pins for TLV320AIC3104:
42 * MIC2L
43 * MIC2R
44 * LINE1L
45 * LINE1R
46
47CODEC input pins for other compatible codecs:
Jyri Sarhac9f3de42013-09-17 12:26:07 +030048 * MIC3L
49 * MIC3R
50 * LINE1L
51 * LINE2L
52 * LINE1R
53 * LINE2R
54
55The pins can be used in referring sound node's audio-routing property.
56
Hebbar, Gururajac24fdc82012-08-27 18:56:44 +053057Example:
58
59tlv320aic3x: tlv320aic3x@1b {
60 compatible = "ti,tlv320aic3x";
61 reg = <0x1b>;
Jyri Sarhabe7c5922013-09-17 12:26:06 +030062
63 AVDD-supply = <&regulator>;
64 IOVDD-supply = <&regulator>;
65 DRVDD-supply = <&regulator>;
66 DVDD-supply = <&regulator>;
Hebbar, Gururajac24fdc82012-08-27 18:56:44 +053067};