Analog Devices ADAU1372 CODEC

Schema identifier ($id): "http://devicetree.org/schemas/sound/adi,adau1372.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

Analog Devices ADAU1372 four inputs and two outputs codec. https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.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,adau1372"

reg — required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — required here #

Exact value (const): 0

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "mclk"

powerdown-gpios — not listed as required here #

GPIO used for hardware power-down.

Maximum number of items (maxItems): 1

Required in this object (required): "#sound-dai-cells", "compatible", "reg", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    audio-codec@3c {
            compatible = "adi,adau1372";
            reg = <0x3c>;
            #sound-dai-cells = <0>;
            clock-names = "mclk";
            clocks = <&adau1372z_xtal>;
    };
};

adau1372z_xtal: clock {
    compatible = "fixed-clock";
    #clock-cells = <0>;
    clock-frequency = <12288000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page