Markus Pargmann | 4d16700 | 2014-01-27 13:03:08 +0100 | [diff] [blame] | 1 | Texas Instruments - tlv320aic32x4 Codec module |
| 2 | |
| 3 | The tlv320aic32x4 serial control bus communicates through I2C protocols |
| 4 | |
| 5 | Required properties: |
Dan Murphy | fde0543 | 2017-07-12 13:36:59 -0500 | [diff] [blame] | 6 | - compatible - "string" - One of: |
| 7 | "ti,tlv320aic32x4" TLV320AIC3204 |
| 8 | "ti,tlv320aic32x6" TLV320AIC3206, TLV320AIC3256 |
Markus Pargmann | 4d16700 | 2014-01-27 13:03:08 +0100 | [diff] [blame] | 9 | - reg: I2C slave address |
Markus Pargmann | 239b669 | 2014-02-20 18:22:59 +0100 | [diff] [blame] | 10 | - supply-*: Required supply regulators are: |
| 11 | "iov" - digital IO power supply |
| 12 | "ldoin" - LDO power supply |
| 13 | "dv" - Digital core power supply |
| 14 | "av" - Analog core power supply |
| 15 | If you supply ldoin, dv and av are optional. Otherwise they are required |
| 16 | See regulator/regulator.txt for more information about the detailed binding |
| 17 | format. |
Markus Pargmann | 4d16700 | 2014-01-27 13:03:08 +0100 | [diff] [blame] | 18 | |
| 19 | Optional properties: |
| 20 | - reset-gpios: Reset-GPIO phandle with args as described in gpio/gpio.txt |
Markus Pargmann | 98b664e | 2014-02-20 18:22:58 +0100 | [diff] [blame] | 21 | - clocks/clock-names: Clock named 'mclk' for the master clock of the codec. |
| 22 | See clock/clock-bindings.txt for information about the detailed format. |
Dan Murphy | b9045b9c | 2017-07-12 13:37:00 -0500 | [diff] [blame] | 23 | - aic32x4-gpio-func - <array of 5 int> |
| 24 | - Types are defined in include/sound/tlv320aic32x4.h |
Markus Pargmann | 4d16700 | 2014-01-27 13:03:08 +0100 | [diff] [blame] | 25 | |
| 26 | |
| 27 | Example: |
| 28 | |
| 29 | codec: tlv320aic32x4@18 { |
| 30 | compatible = "ti,tlv320aic32x4"; |
| 31 | reg = <0x18>; |
Markus Pargmann | 98b664e | 2014-02-20 18:22:58 +0100 | [diff] [blame] | 32 | clocks = <&clks 201>; |
| 33 | clock-names = "mclk"; |
Dan Murphy | b9045b9c | 2017-07-12 13:37:00 -0500 | [diff] [blame] | 34 | aic32x4-gpio-func= < |
| 35 | 0xff /* AIC32X4_MFPX_DEFAULT_VALUE */ |
| 36 | 0xff /* AIC32X4_MFPX_DEFAULT_VALUE */ |
| 37 | 0x04 /* MFP3 AIC32X4_MFP3_GPIO_ENABLED */ |
| 38 | 0xff /* AIC32X4_MFPX_DEFAULT_VALUE */ |
| 39 | 0x08 /* MFP5 AIC32X4_MFP5_GPIO_INPUT */ |
| 40 | >; |
Markus Pargmann | 4d16700 | 2014-01-27 13:03:08 +0100 | [diff] [blame] | 41 | }; |