summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/adi,adau17x1.yaml
blob: 8ef1e7f6ec91378ef5f8e86c42454ace4f42cda2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/adi,adau17x1.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

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

maintainers:
  - Lars-Peter Clausen <lars@metafoo.de>

properties:
  compatible:
    enum:
      - adi,adau1361
      - adi,adau1381
      - adi,adau1461
      - adi,adau1761
      - adi,adau1781
      - adi,adau1961

  reg:
    maxItems: 1
    description:
      The i2c address. Value depends on the state of ADDR0 and ADDR1,
      as wired in hardware.

  clock-names:
    const: mclk

  clocks:
    items:
      - description: provides the audio master clock for the device.

required:
  - compatible
  - reg

additionalProperties: false

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