ts3a227e.txt 936 B

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