Commit | Line | Data |
---|---|---|
2880fc87 DR |
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 | - interrupt-parent: The parent interrupt controller | |
14 | - interrupts: Interrupt number for /INT pin from the 227e | |
15 | ||
39552d7a AP |
16 | Optional properies: |
17 | - ti,micbias: Intended MICBIAS voltage (datasheet section 9.6.7). | |
18 | Select 0/1/2/3/4/5/6/7 to specify MACBIAS voltage | |
19 | 2.1V/2.2V/2.3V/2.4V/2.5V/2.6V/2.7V/2.8V | |
20 | Default value is "1" (2.2V). | |
2880fc87 DR |
21 | |
22 | Examples: | |
23 | ||
24 | i2c { | |
25 | ts3a227e@3b { | |
26 | compatible = "ti,ts3a227e"; | |
27 | reg = <0x3b>; | |
28 | interrupt-parent = <&gpio>; | |
29 | interrupts = <3 IRQ_TYPE_LEVEL_LOW>; | |
30 | }; | |
31 | }; |