| 1 | Texas Instruments - tlv320aic3x Codec module |
| 2 | |
| 3 | The tlv320aic3x serial control bus communicates through I2C protocols |
| 4 | |
| 5 | Required properties: |
| 6 | |
| 7 | - compatible - "string" - One of: |
| 8 | "ti,tlv320aic3x" - Generic TLV320AIC3x device |
| 9 | "ti,tlv320aic33" - TLV320AIC33 |
| 10 | "ti,tlv320aic3007" - TLV320AIC3007 |
| 11 | "ti,tlv320aic3106" - TLV320AIC3106 |
| 12 | "ti,tlv320aic3104" - TLV320AIC3104 |
| 13 | |
| 14 | |
| 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 |
| 22 | - Not supported on tlv320aic3104 |
| 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. |
| 29 | - AVDD-supply, IOVDD-supply, DRVDD-supply, DVDD-supply : power supplies for the |
| 30 | device as covered in Documentation/devicetree/bindings/regulator/regulator.txt |
| 31 | |
| 32 | CODEC output pins: |
| 33 | * LLOUT |
| 34 | * RLOUT |
| 35 | * MONO_LOUT |
| 36 | * HPLOUT |
| 37 | * HPROUT |
| 38 | * HPLCOM |
| 39 | * HPRCOM |
| 40 | |
| 41 | CODEC input pins for TLV320AIC3104: |
| 42 | * MIC2L |
| 43 | * MIC2R |
| 44 | * LINE1L |
| 45 | * LINE1R |
| 46 | |
| 47 | CODEC input pins for other compatible codecs: |
| 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 | |
| 57 | Example: |
| 58 | |
| 59 | tlv320aic3x: tlv320aic3x@1b { |
| 60 | compatible = "ti,tlv320aic3x"; |
| 61 | reg = <0x1b>; |
| 62 | |
| 63 | AVDD-supply = <®ulator>; |
| 64 | IOVDD-supply = <®ulator>; |
| 65 | DRVDD-supply = <®ulator>; |
| 66 | DVDD-supply = <®ulator>; |
| 67 | }; |