Hebbar, Gururaja | c24fdc8 | 2012-08-27 18:56:44 +0530 | [diff] [blame] | 1 | Texas Instruments - tlv320aic3x Codec module |
| 2 | |
| 3 | The tlv320aic3x serial control bus communicates through I2C protocols |
| 4 | |
| 5 | Required properties: |
Mark Brown | f2c4fa6 | 2013-07-16 13:36:05 +0100 | [diff] [blame] | 6 | |
| 7 | - compatible - "string" - One of: |
| 8 | "ti,tlv320aic3x" - Generic TLV320AIC3x device |
| 9 | "ti,tlv320aic33" - TLV320AIC33 |
| 10 | "ti,tlv320aic3007" - TLV320AIC3007 |
Mark Brown | cbaa568 | 2013-07-16 13:39:52 +0100 | [diff] [blame] | 11 | "ti,tlv320aic3106" - TLV320AIC3106 |
Mark Brown | f2c4fa6 | 2013-07-16 13:36:05 +0100 | [diff] [blame] | 12 | |
| 13 | |
Hebbar, Gururaja | c24fdc8 | 2012-08-27 18:56:44 +0530 | [diff] [blame] | 14 | - reg - <int> - I2C slave address |
| 15 | |
| 16 | |
| 17 | Optional properties: |
| 18 | |
| 19 | - gpio-reset - gpio pin number used for codec reset |
| 20 | - ai3x-gpio-func - <array of 2 int> - AIC3X_GPIO1 & AIC3X_GPIO2 Functionality |
Hebbar Gururaja | e2e8bfd | 2013-01-31 18:23:04 +0530 | [diff] [blame] | 21 | - ai3x-micbias-vg - MicBias Voltage required. |
| 22 | 1 - MICBIAS output is powered to 2.0V, |
| 23 | 2 - MICBIAS output is powered to 2.5V, |
| 24 | 3 - MICBIAS output is connected to AVDD, |
| 25 | If this node is not mentioned or if the value is incorrect, then MicBias |
| 26 | is powered down. |
Jyri Sarha | be7c592 | 2013-09-17 12:26:06 +0300 | [diff] [blame] | 27 | - AVDD-supply, IOVDD-supply, DRVDD-supply, DVDD-supply : power supplies for the |
| 28 | device as covered in Documentation/devicetree/bindings/regulator/regulator.txt |
Hebbar, Gururaja | c24fdc8 | 2012-08-27 18:56:44 +0530 | [diff] [blame] | 29 | |
Jyri Sarha | c9f3de4 | 2013-09-17 12:26:07 +0300 | [diff] [blame] | 30 | CODEC output pins: |
| 31 | * LLOUT |
| 32 | * RLOUT |
| 33 | * MONO_LOUT |
| 34 | * HPLOUT |
| 35 | * HPROUT |
| 36 | * HPLCOM |
| 37 | * HPRCOM |
| 38 | |
| 39 | CODEC input pins: |
| 40 | * MIC3L |
| 41 | * MIC3R |
| 42 | * LINE1L |
| 43 | * LINE2L |
| 44 | * LINE1R |
| 45 | * LINE2R |
| 46 | |
| 47 | The pins can be used in referring sound node's audio-routing property. |
| 48 | |
Hebbar, Gururaja | c24fdc8 | 2012-08-27 18:56:44 +0530 | [diff] [blame] | 49 | Example: |
| 50 | |
| 51 | tlv320aic3x: tlv320aic3x@1b { |
| 52 | compatible = "ti,tlv320aic3x"; |
| 53 | reg = <0x1b>; |
Jyri Sarha | be7c592 | 2013-09-17 12:26:06 +0300 | [diff] [blame] | 54 | |
| 55 | AVDD-supply = <®ulator>; |
| 56 | IOVDD-supply = <®ulator>; |
| 57 | DRVDD-supply = <®ulator>; |
| 58 | DVDD-supply = <®ulator>; |
Hebbar, Gururaja | c24fdc8 | 2012-08-27 18:56:44 +0530 | [diff] [blame] | 59 | }; |