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