Analog Devices ADAU1361/ADAU1461/ADAU1761/ADAU1961/ADAU1381/ADAU1781 Codec

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

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

Maintainers (maintainers): "Lars-Peter Clausen <lars@metafoo.de>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,adau1361", "adi,adau1381", "adi,adau1461", "adi,adau1761", "adi,adau1781", "adi,adau1961"

reg — required here #

Maximum number of items (maxItems): 1

The i2c address. Value depends on the state of ADDR0 and ADDR1, as wired in hardware.

clock-names — not listed as required here #

Exact value (const): "mclk"

clocks — not listed as required here #

Array item rules (items) #

Item 1

provides the audio master clock for the device.

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  audio-codec@38 {
    compatible = "adi,adau1761";
    reg = <0x38>;
    clock-names = "mclk";
    clocks = <&audio_clock>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page