1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/adi,adau1373.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices ADAU1373 CODEC
10 - Nuno Sá <nuno.sa@analog.com>
13 Analog Devices ADAU1373 Low power codec with speaker and headphone amplifiers.
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1373.pdf
17 - $ref: dai-common.yaml#
31 description: GPIO used for hardware power-down.
34 adi,micbias1-microvolt:
36 This property sets the microphone bias voltage for the first microphone.
37 enum: [1800000, 2200000, 2600000, 2900000]
40 adi,micbias2-microvolt:
42 This property sets the microphone bias voltage for the second microphone.
43 enum: [1800000, 2200000, 2600000, 2900000]
46 adi,input1-differential:
47 description: This property sets the first analog input as differential.
50 adi,input2-differential:
51 description: This property sets the second analog input as differential.
54 adi,input3-differential:
55 description: This property sets the third analog input as differential.
58 adi,input4-differential:
59 description: This property sets the fourth analog input as differential.
62 adi,lineout-differential:
63 description: This property sets the line output as differential.
66 adi,lineout-gnd-sense:
67 description: This property enables the line output ground sense control.
72 This setting is used to control the dynamic range of the signal. The
73 device provides a maximum of three full band DRCs with 13 entries each.
74 $ref: /schemas/types.yaml#/definitions/uint8-array
88 unevaluatedProperties: false
92 #include <dt-bindings/gpio/gpio.h>
98 compatible = "adi,adau1373";
100 #sound-dai-cells = <0>;
101 powerdown-gpios = <&gpio 100 GPIO_ACTIVE_LOW>;
102 adi,input2-differential;
103 adi,input1-differential;
104 adi,lineout-differential;
105 adi,micbias2-microvolt = <1800000>;
106 adi,drc-settings = /bits/ 8 <
107 0xff 0xff 0x1 0x2 0xa 0xa 0xd 0x1 0xff 0xff 0x5 0xd 0xff