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 |
Jyri Sarha | 9503112 | 2015-02-02 16:48:05 +0200 | [diff] [blame] | 12 | "ti,tlv320aic3104" - TLV320AIC3104 |
Mark Brown | f2c4fa6 | 2013-07-16 13:36:05 +0100 | [diff] [blame] | 13 | |
| 14 | |
Hebbar, Gururaja | c24fdc8 | 2012-08-27 18:56:44 +0530 | [diff] [blame] | 15 | - reg - <int> - I2C slave address |
| 16 | |
| 17 | |
| 18 | Optional properties: |
| 19 | |
| 20 | - gpio-reset - gpio pin number used for codec reset |
| 21 | - ai3x-gpio-func - <array of 2 int> - AIC3X_GPIO1 & AIC3X_GPIO2 Functionality |
Jyri Sarha | 9503112 | 2015-02-02 16:48:05 +0200 | [diff] [blame] | 22 | - Not supported on tlv320aic3104 |
Hebbar Gururaja | e2e8bfd | 2013-01-31 18:23:04 +0530 | [diff] [blame] | 23 | - ai3x-micbias-vg - MicBias Voltage required. |
| 24 | 1 - MICBIAS output is powered to 2.0V, |
| 25 | 2 - MICBIAS output is powered to 2.5V, |
| 26 | 3 - MICBIAS output is connected to AVDD, |
| 27 | If this node is not mentioned or if the value is incorrect, then MicBias |
| 28 | is powered down. |
Jyri Sarha | be7c592 | 2013-09-17 12:26:06 +0300 | [diff] [blame] | 29 | - AVDD-supply, IOVDD-supply, DRVDD-supply, DVDD-supply : power supplies for the |
| 30 | device as covered in Documentation/devicetree/bindings/regulator/regulator.txt |
Hebbar, Gururaja | c24fdc8 | 2012-08-27 18:56:44 +0530 | [diff] [blame] | 31 | |
Jyri Sarha | c9f3de4 | 2013-09-17 12:26:07 +0300 | [diff] [blame] | 32 | CODEC output pins: |
| 33 | * LLOUT |
| 34 | * RLOUT |
| 35 | * MONO_LOUT |
| 36 | * HPLOUT |
| 37 | * HPROUT |
| 38 | * HPLCOM |
| 39 | * HPRCOM |
| 40 | |
Jyri Sarha | 9503112 | 2015-02-02 16:48:05 +0200 | [diff] [blame] | 41 | CODEC input pins for TLV320AIC3104: |
| 42 | * MIC2L |
| 43 | * MIC2R |
| 44 | * LINE1L |
| 45 | * LINE1R |
| 46 | |
| 47 | CODEC input pins for other compatible codecs: |
Jyri Sarha | c9f3de4 | 2013-09-17 12:26:07 +0300 | [diff] [blame] | 48 | * MIC3L |
| 49 | * MIC3R |
| 50 | * LINE1L |
| 51 | * LINE2L |
| 52 | * LINE1R |
| 53 | * LINE2R |
| 54 | |
| 55 | The pins can be used in referring sound node's audio-routing property. |
| 56 | |
Hebbar, Gururaja | c24fdc8 | 2012-08-27 18:56:44 +0530 | [diff] [blame] | 57 | Example: |
| 58 | |
| 59 | tlv320aic3x: tlv320aic3x@1b { |
| 60 | compatible = "ti,tlv320aic3x"; |
| 61 | reg = <0x1b>; |
Jyri Sarha | be7c592 | 2013-09-17 12:26:06 +0300 | [diff] [blame] | 62 | |
| 63 | AVDD-supply = <®ulator>; |
| 64 | IOVDD-supply = <®ulator>; |
| 65 | DRVDD-supply = <®ulator>; |
| 66 | DVDD-supply = <®ulator>; |
Hebbar, Gururaja | c24fdc8 | 2012-08-27 18:56:44 +0530 | [diff] [blame] | 67 | }; |