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