2014-01-27 19:03:08 +07:00
|
|
|
Texas Instruments - tlv320aic32x4 Codec module
|
|
|
|
|
|
|
|
The tlv320aic32x4 serial control bus communicates through I2C protocols
|
|
|
|
|
|
|
|
Required properties:
|
2017-07-13 01:36:59 +07:00
|
|
|
- compatible - "string" - One of:
|
|
|
|
"ti,tlv320aic32x4" TLV320AIC3204
|
|
|
|
"ti,tlv320aic32x6" TLV320AIC3206, TLV320AIC3256
|
2014-01-27 19:03:08 +07:00
|
|
|
- reg: I2C slave address
|
2014-02-21 00:22:59 +07:00
|
|
|
- supply-*: Required supply regulators are:
|
|
|
|
"iov" - digital IO power supply
|
|
|
|
"ldoin" - LDO power supply
|
|
|
|
"dv" - Digital core power supply
|
|
|
|
"av" - Analog core power supply
|
|
|
|
If you supply ldoin, dv and av are optional. Otherwise they are required
|
|
|
|
See regulator/regulator.txt for more information about the detailed binding
|
|
|
|
format.
|
2014-01-27 19:03:08 +07:00
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
- reset-gpios: Reset-GPIO phandle with args as described in gpio/gpio.txt
|
2014-02-21 00:22:58 +07:00
|
|
|
- clocks/clock-names: Clock named 'mclk' for the master clock of the codec.
|
|
|
|
See clock/clock-bindings.txt for information about the detailed format.
|
2017-07-13 01:37:00 +07:00
|
|
|
- aic32x4-gpio-func - <array of 5 int>
|
|
|
|
- Types are defined in include/sound/tlv320aic32x4.h
|
2014-01-27 19:03:08 +07:00
|
|
|
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
codec: tlv320aic32x4@18 {
|
|
|
|
compatible = "ti,tlv320aic32x4";
|
|
|
|
reg = <0x18>;
|
2014-02-21 00:22:58 +07:00
|
|
|
clocks = <&clks 201>;
|
|
|
|
clock-names = "mclk";
|
2017-07-13 01:37:00 +07:00
|
|
|
aic32x4-gpio-func= <
|
|
|
|
0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
|
|
|
|
0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
|
|
|
|
0x04 /* MFP3 AIC32X4_MFP3_GPIO_ENABLED */
|
|
|
|
0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
|
|
|
|
0x08 /* MFP5 AIC32X4_MFP5_GPIO_INPUT */
|
|
|
|
>;
|
2014-01-27 19:03:08 +07:00
|
|
|
};
|