18c2ecf20Sopenharmony_ciTexas Instruments TS3A227E 28c2ecf20Sopenharmony_ciAutonomous Audio Accessory Detection and Configuration Switch 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciThe TS3A227E detect headsets of 3-ring and 4-ring standards and 58c2ecf20Sopenharmony_ciswitches automatically to route the microphone correctly. It also 68c2ecf20Sopenharmony_cihandles key press detection in accordance with the Android audio 78c2ecf20Sopenharmony_ciheadset specification v1.0. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciRequired properties: 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci - compatible: Should contain "ti,ts3a227e". 128c2ecf20Sopenharmony_ci - reg: The i2c address. Should contain <0x3b>. 138c2ecf20Sopenharmony_ci - interrupts: Interrupt number for /INT pin from the 227e 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciOptional properies: 168c2ecf20Sopenharmony_ci - ti,micbias: Intended MICBIAS voltage (datasheet section 9.6.7). 178c2ecf20Sopenharmony_ci Select 0/1/2/3/4/5/6/7 to specify MICBIAS voltage 188c2ecf20Sopenharmony_ci 2.1V/2.2V/2.3V/2.4V/2.5V/2.6V/2.7V/2.8V 198c2ecf20Sopenharmony_ci Default value is "1" (2.2V). 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciExamples: 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci i2c { 248c2ecf20Sopenharmony_ci ts3a227e@3b { 258c2ecf20Sopenharmony_ci compatible = "ti,ts3a227e"; 268c2ecf20Sopenharmony_ci reg = <0x3b>; 278c2ecf20Sopenharmony_ci interrupt-parent = <&gpio>; 288c2ecf20Sopenharmony_ci interrupts = <3 IRQ_TYPE_LEVEL_LOW>; 298c2ecf20Sopenharmony_ci }; 308c2ecf20Sopenharmony_ci }; 31