2012-08-27 13:26:44 +00:00
|
|
|
Texas Instruments - tlv320aic3x Codec module
|
|
|
|
|
|
|
|
The tlv320aic3x serial control bus communicates through I2C protocols
|
|
|
|
|
|
|
|
Required properties:
|
2013-07-16 12:36:05 +00:00
|
|
|
|
|
|
|
- compatible - "string" - One of:
|
|
|
|
"ti,tlv320aic3x" - Generic TLV320AIC3x device
|
|
|
|
"ti,tlv320aic33" - TLV320AIC33
|
|
|
|
"ti,tlv320aic3007" - TLV320AIC3007
|
2013-07-16 12:39:52 +00:00
|
|
|
"ti,tlv320aic3106" - TLV320AIC3106
|
2015-02-02 14:48:05 +00:00
|
|
|
"ti,tlv320aic3104" - TLV320AIC3104
|
2013-07-16 12:36:05 +00:00
|
|
|
|
|
|
|
|
2012-08-27 13:26:44 +00:00
|
|
|
- reg - <int> - I2C slave address
|
|
|
|
|
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
|
2017-11-29 17:13:53 +00:00
|
|
|
- reset-gpios - GPIO specification for the active low RESET input.
|
2012-08-27 13:26:44 +00:00
|
|
|
- ai3x-gpio-func - <array of 2 int> - AIC3X_GPIO1 & AIC3X_GPIO2 Functionality
|
2015-02-02 14:48:05 +00:00
|
|
|
- Not supported on tlv320aic3104
|
2013-01-31 12:53:04 +00:00
|
|
|
- ai3x-micbias-vg - MicBias Voltage required.
|
|
|
|
1 - MICBIAS output is powered to 2.0V,
|
|
|
|
2 - MICBIAS output is powered to 2.5V,
|
|
|
|
3 - MICBIAS output is connected to AVDD,
|
|
|
|
If this node is not mentioned or if the value is incorrect, then MicBias
|
|
|
|
is powered down.
|
2017-08-31 08:49:47 +00:00
|
|
|
- ai3x-ocmv - Output Common-Mode Voltage selection:
|
|
|
|
0 - 1.35V,
|
|
|
|
1 - 1.5V,
|
|
|
|
2 - 1.65V,
|
|
|
|
3 - 1.8V
|
2013-09-17 09:26:06 +00:00
|
|
|
- AVDD-supply, IOVDD-supply, DRVDD-supply, DVDD-supply : power supplies for the
|
|
|
|
device as covered in Documentation/devicetree/bindings/regulator/regulator.txt
|
2012-08-27 13:26:44 +00:00
|
|
|
|
2017-11-29 17:13:53 +00:00
|
|
|
Deprecated properties:
|
|
|
|
|
|
|
|
- gpio-reset - gpio pin number used for codec reset
|
|
|
|
|
2013-09-17 09:26:07 +00:00
|
|
|
CODEC output pins:
|
|
|
|
* LLOUT
|
|
|
|
* RLOUT
|
|
|
|
* MONO_LOUT
|
|
|
|
* HPLOUT
|
|
|
|
* HPROUT
|
|
|
|
* HPLCOM
|
|
|
|
* HPRCOM
|
|
|
|
|
2015-02-02 14:48:05 +00:00
|
|
|
CODEC input pins for TLV320AIC3104:
|
|
|
|
* MIC2L
|
|
|
|
* MIC2R
|
|
|
|
* LINE1L
|
|
|
|
* LINE1R
|
|
|
|
|
|
|
|
CODEC input pins for other compatible codecs:
|
2013-09-17 09:26:07 +00:00
|
|
|
* MIC3L
|
|
|
|
* MIC3R
|
|
|
|
* LINE1L
|
|
|
|
* LINE2L
|
|
|
|
* LINE1R
|
|
|
|
* LINE2R
|
|
|
|
|
|
|
|
The pins can be used in referring sound node's audio-routing property.
|
|
|
|
|
2012-08-27 13:26:44 +00:00
|
|
|
Example:
|
|
|
|
|
2017-11-29 17:13:53 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
2012-08-27 13:26:44 +00:00
|
|
|
tlv320aic3x: tlv320aic3x@1b {
|
|
|
|
compatible = "ti,tlv320aic3x";
|
|
|
|
reg = <0x1b>;
|
2013-09-17 09:26:06 +00:00
|
|
|
|
2017-11-29 17:13:53 +00:00
|
|
|
reset-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
|
|
|
|
|
2013-09-17 09:26:06 +00:00
|
|
|
AVDD-supply = <®ulator>;
|
|
|
|
IOVDD-supply = <®ulator>;
|
|
|
|
DRVDD-supply = <®ulator>;
|
|
|
|
DVDD-supply = <®ulator>;
|
2012-08-27 13:26:44 +00:00
|
|
|
};
|