1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 # Copyright (C) 2022 Texas Instruments Incorporated
5 $id: http://devicetree.org/schemas/sound/ti,tlv320aic3x.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Texas Instruments TLV320AIC3x Codec
11 TLV320AIC3x are a series of low-power stereo audio codecs with stereo
12 headphone amplifier, as well as multiple inputs and outputs programmable in
13 single-ended or fully differential configurations.
15 The serial control bus supports SPI or I2C protocols, while the serial audio
16 data bus is programmable for I2S, left/right-justified, DSP, or TDM modes.
18 The following pins can be referred in the sound node's audio routing property:
29 CODEC input pins for TLV320AIC3104:
35 CODEC input pins for other compatible codecs:
44 - Jai Luthra <j-luthra@ti.com>
61 GPIO specification for the active low RESET input.
64 $ref: /schemas/types.yaml#/definitions/uint32-matrix
67 Deprecated, please use reset-gpios instead.
71 description: AIC3X_GPIO1 & AIC3X_GPIO2 Functionality
72 $ref: /schemas/types.yaml#/definitions/uint32-array
76 description: MicBias required voltage. If node is omitted then MicBias is powered down.
77 $ref: /schemas/types.yaml#/definitions/uint32
80 description: MICBIAS output is powered to 2.0V.
82 description: MICBIAS output is powered to 2.5V.
84 description: MICBIAS output is connected to AVDD.
87 description: Output Common-Mode Voltage selection.
88 $ref: /schemas/types.yaml#/definitions/uint32
100 description: Analog DAC voltage.
103 description: I/O voltage.
106 description: ADC analog and output driver voltage.
109 description: Digital core voltage.
118 $ref: audio-graph-port.yaml#
119 unevaluatedProperties: false
125 additionalProperties: false
129 #include <dt-bindings/gpio/gpio.h>
131 #address-cells = <1>;
134 tlv320aic3x_i2c: audio-codec@1b {
135 compatible = "ti,tlv320aic3x";
138 reset-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
140 AVDD-supply = <®ulator>;
141 IOVDD-supply = <®ulator>;
142 DRVDD-supply = <®ulator>;
143 DVDD-supply = <®ulator>;
148 #include <dt-bindings/gpio/gpio.h>
150 #address-cells = <1>;
153 tlv320aic3x_spi: audio-codec@0 {
154 compatible = "ti,tlv320aic3x";
155 reg = <0>; /* CS number */
156 #sound-dai-cells = <0>;
158 AVDD-supply = <®ulator>;
159 IOVDD-supply = <®ulator>;
160 DRVDD-supply = <®ulator>;
161 DVDD-supply = <®ulator>;