xref: /freebsd/sys/contrib/device-tree/Bindings/sound/adi,adau17x1.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/adi,adau17x1.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices ADAU1361/ADAU1461/ADAU1761/ADAU1961/ADAU1381/ADAU1781 Codec
8
9maintainers:
10  - Lars-Peter Clausen <lars@metafoo.de>
11
12properties:
13  compatible:
14    enum:
15      - adi,adau1361
16      - adi,adau1381
17      - adi,adau1461
18      - adi,adau1761
19      - adi,adau1781
20      - adi,adau1961
21
22  reg:
23    maxItems: 1
24    description:
25      The i2c address. Value depends on the state of ADDR0 and ADDR1,
26      as wired in hardware.
27
28  clock-names:
29    const: mclk
30
31  clocks:
32    items:
33      - description: provides the audio master clock for the device.
34
35required:
36  - compatible
37  - reg
38
39additionalProperties: false
40
41examples:
42  - |
43    i2c {
44      #address-cells = <1>;
45      #size-cells = <0>;
46      audio-codec@38 {
47        compatible = "adi,adau1761";
48        reg = <0x38>;
49        clock-names = "mclk";
50        clocks = <&audio_clock>;
51      };
52    };
53