1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/ti,ts3a227e.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments TS3A227E
8 Autonomous Audio Accessory Detection and Configuration Switch
11 - Dylan Reid <dgreid@chromium.org>
14 The TS3A227E detect headsets of 3-ring and 4-ring standards and
15 switches automatically to route the microphone correctly. It also
16 handles key press detection in accordance with the Android audio
17 headset specification v1.0.
31 $ref: /schemas/types.yaml#/definitions/uint32
32 description: Intended MICBIAS voltage (datasheet section 9.6.7).
44 ti,debounce-release-ms:
45 description: key release debounce time in ms (datasheet section 9.6.7).
52 description: key press debounce time in ms (datasheet section 9.6.7).
60 ti,debounce-insertion-ms:
61 description: headset insertion debounce time in ms (datasheet section 9.6.5).
78 additionalProperties: false
82 #include <dt-bindings/interrupt-controller/irq.h>
86 codec: audio-controller@3b {
87 compatible = "ti,ts3a227e";
89 interrupt-parent = <&gpio1>;
90 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;