Analog Devices ADAU1373 CODEC
Schema identifier ($id): "http://devicetree.org/schemas/sound/adi,adau1373.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nuno Sá <nuno.sa@analog.com>"
Analog Devices ADAU1373 Low power codec with speaker and headphone amplifiers. https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1373.pdf
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adau1373"
reg — required here #
Maximum number of items (maxItems): 1
#sound-dai-cells — required here #
Exact value (const): 0
powerdown-gpios — not listed as required here #
GPIO used for hardware power-down.
Maximum number of items (maxItems): 1
adi,micbias1-microvolt — not listed as required here #
This property sets the microphone bias voltage for the first microphone.
Allowed values (enum): 1800000, 2200000, 2600000, 2900000
Default value (default): 2900000
adi,micbias2-microvolt — not listed as required here #
This property sets the microphone bias voltage for the second microphone.
Allowed values (enum): 1800000, 2200000, 2600000, 2900000
Default value (default): 2900000
adi,input1-differential — not listed as required here #
This property sets the first analog input as differential.
Value type (type): "boolean"
adi,input2-differential — not listed as required here #
This property sets the second analog input as differential.
Value type (type): "boolean"
adi,input3-differential — not listed as required here #
This property sets the third analog input as differential.
Value type (type): "boolean"
adi,input4-differential — not listed as required here #
This property sets the fourth analog input as differential.
Value type (type): "boolean"
adi,lineout-differential — not listed as required here #
This property sets the line output as differential.
Value type (type): "boolean"
adi,lineout-gnd-sense — not listed as required here #
This property enables the line output ground sense control.
Value type (type): "boolean"
adi,drc-settings — not listed as required here #
This setting is used to control the dynamic range of the signal. The device provides a maximum of three full band DRCs with 13 entries each.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Exactly one of these rules must match (oneOf) #
Rule 1
Minimum number of items (
minItems):13Maximum number of items (
maxItems):13
Rule 2
Minimum number of items (
minItems):26Maximum number of items (
maxItems):26
Rule 3
Minimum number of items (
minItems):39Maximum number of items (
maxItems):39
Required in this object (required): "#sound-dai-cells", "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
audio-codec@1a {
compatible = "adi,adau1373";
reg = <0x1a>;
#sound-dai-cells = <0>;
powerdown-gpios = <&gpio 100 GPIO_ACTIVE_LOW>;
adi,input2-differential;
adi,input1-differential;
adi,lineout-differential;
adi,micbias2-microvolt = <1800000>;
adi,drc-settings = /bits/ 8 <
0xff 0xff 0x1 0x2 0xa 0xa 0xd 0x1 0xff 0xff 0x5 0xd 0xff
>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)