| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | Texas Instruments TS3A227E |
| 2 | Autonomous Audio Accessory Detection and Configuration Switch |
| 3 | |
| 4 | The TS3A227E detect headsets of 3-ring and 4-ring standards and |
| 5 | switches automatically to route the microphone correctly. It also |
| 6 | handles key press detection in accordance with the Android audio |
| 7 | headset specification v1.0. |
| 8 | |
| 9 | Required properties: |
| 10 | |
| 11 | - compatible: Should contain "ti,ts3a227e". |
| 12 | - reg: The i2c address. Should contain <0x3b>. |
| 13 | - interrupts: Interrupt number for /INT pin from the 227e |
| 14 | |
| 15 | Optional properies: |
| 16 | - ti,micbias: Intended MICBIAS voltage (datasheet section 9.6.7). |
| 17 | Select 0/1/2/3/4/5/6/7 to specify MICBIAS voltage |
| 18 | 2.1V/2.2V/2.3V/2.4V/2.5V/2.6V/2.7V/2.8V |
| 19 | Default value is "1" (2.2V). |
| 20 | |
| 21 | Examples: |
| 22 | |
| 23 | i2c { |
| 24 | ts3a227e@3b { |
| 25 | compatible = "ti,ts3a227e"; |
| 26 | reg = <0x3b>; |
| 27 | interrupt-parent = <&gpio>; |
| 28 | interrupts = <3 IRQ_TYPE_LEVEL_LOW>; |
| 29 | }; |
| 30 | }; |