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