Merge commit '81fd23e2b3ccf71c807e671444e8accaba98ca53' of https://git.pengutronix...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / tlv320aic32x4.txt
1 Texas Instruments - tlv320aic32x4 Codec module
2
3 The tlv320aic32x4 serial control bus communicates through I2C protocols
4
5 Required properties:
6  - compatible - "string" - One of:
7         "ti,tlv320aic32x4" TLV320AIC3204
8         "ti,tlv320aic32x6" TLV320AIC3206, TLV320AIC3256
9         "ti,tas2505" TAS2505, TAS2521
10  - reg: I2C slave address
11  - supply-*: Required supply regulators are:
12     "iov" - digital IO power supply
13     "ldoin" - LDO power supply
14     "dv" - Digital core power supply
15     "av" - Analog core power supply
16     If you supply ldoin, dv and av are optional. Otherwise they are required
17    See regulator/regulator.txt for more information about the detailed binding
18    format.
19
20 Optional properties:
21  - reset-gpios: Reset-GPIO phandle with args as described in gpio/gpio.txt
22  - clocks/clock-names: Clock named 'mclk' for the master clock of the codec.
23    See clock/clock-bindings.txt for information about the detailed format.
24  - aic32x4-gpio-func - <array of 5 int>
25         - Types are defined in include/sound/tlv320aic32x4.h
26
27
28 Example:
29
30 codec: tlv320aic32x4@18 {
31         compatible = "ti,tlv320aic32x4";
32         reg = <0x18>;
33         clocks = <&clks 201>;
34         clock-names = "mclk";
35         aic32x4-gpio-func= <
36                         0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
37                         0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
38                         0x04 /* MFP3 AIC32X4_MFP3_GPIO_ENABLED */
39                         0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
40                         0x08 /* MFP5 AIC32X4_MFP5_GPIO_INPUT */
41                 >;
42 };