Analog Devices ADAU1977/ADAU1978/ADAU1979 Quad ADC with Diagnostics
Schema identifier ($id): "http://devicetree.org/schemas/sound/adi,adau1977.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lars-Peter Clausen <lars@metafoo.de>", "Bogdan Togorean <bogdan.togorean@analog.com>"
Analog Devices ADAU1977 and similar quad ADC with Diagnostics https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1977.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1978.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1979.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adau1977", "adi,adau1978", "adi,adau1979"
reg — required here #
Maximum number of items (maxItems): 1
#sound-dai-cells — not listed as required here #
Exact value (const): 0
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
AVDD-supply — required here #
Analog power support for the device.
DVDD-supply — not listed as required here #
Supply voltage for digital core.
adi,micbias — not listed as required here #
Configures the voltage setting for the MICBIAS pin.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3, 4, 5, 6, 7, 8
Default value (default): 7
Required in this object (required): "reg", "compatible", "AVDD-supply"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
adau1977_spi: adau1977@0 {
compatible = "adi,adau1977";
reg = <0>;
spi-max-frequency = <600000>;
AVDD-supply = <®ulator>;
DVDD-supply = <®ulator_digital>;
reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
adi,micbias = <3>;
};
};
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
adau1977_i2c: adau1977@11 {
compatible = "adi,adau1977";
reg = <0x11>;
AVDD-supply = <®ulator>;
DVDD-supply = <®ulator_digital>;
reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)