xref: /freebsd-src/sys/contrib/device-tree/Bindings/sound/ts3a227e.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotTexas Instruments TS3A227E
2*c66ec88fSEmmanuel VadotAutonomous Audio Accessory Detection and Configuration Switch
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThe TS3A227E detect headsets of 3-ring and 4-ring standards and
5*c66ec88fSEmmanuel Vadotswitches automatically to route the microphone correctly.  It also
6*c66ec88fSEmmanuel Vadothandles key press detection in accordance with the Android audio
7*c66ec88fSEmmanuel Vadotheadset specification v1.0.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotRequired properties:
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot - compatible:		Should contain "ti,ts3a227e".
12*c66ec88fSEmmanuel Vadot - reg:			The i2c address. Should contain <0x3b>.
13*c66ec88fSEmmanuel Vadot - interrupts:		Interrupt number for /INT pin from the 227e
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotOptional properies:
16*c66ec88fSEmmanuel Vadot - ti,micbias:   Intended MICBIAS voltage (datasheet section 9.6.7).
17*c66ec88fSEmmanuel Vadot      Select 0/1/2/3/4/5/6/7 to specify MICBIAS voltage
18*c66ec88fSEmmanuel Vadot      2.1V/2.2V/2.3V/2.4V/2.5V/2.6V/2.7V/2.8V
19*c66ec88fSEmmanuel Vadot      Default value is "1" (2.2V).
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel VadotExamples:
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot	i2c {
24*c66ec88fSEmmanuel Vadot		ts3a227e@3b {
25*c66ec88fSEmmanuel Vadot			compatible = "ti,ts3a227e";
26*c66ec88fSEmmanuel Vadot			reg = <0x3b>;
27*c66ec88fSEmmanuel Vadot			interrupt-parent = <&gpio>;
28*c66ec88fSEmmanuel Vadot			interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
29*c66ec88fSEmmanuel Vadot		};
30*c66ec88fSEmmanuel Vadot	};
31