xref: /freebsd/sys/contrib/device-tree/Bindings/sound/adi,adau1372.yaml (revision 058ac3e8063366dafa634d9107642e12b038bf09)
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,adau1372.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
8title: Analog Devices ADAU1372 CODEC
9
10maintainers:
11  - Alexandre Belloni <alexandre.belloni@bootlin.om>
12
13description: |
14  Analog Devices ADAU1372 four inputs and two outputs codec.
15  https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf
16
17properties:
18  compatible:
19    enum:
20      - adi,adau1372
21
22  reg:
23    maxItems: 1
24
25  "#sound-dai-cells":
26    const: 0
27
28  clocks:
29    maxItems: 1
30
31  clock-names:
32    const: "mclk"
33
34  powerdown-gpios:
35    description: GPIO used for hardware power-down.
36    maxItems: 1
37
38required:
39  - "#sound-dai-cells"
40  - compatible
41  - reg
42  - clocks
43  - clock-names
44
45additionalProperties: false
46
47examples:
48  - |
49    i2c {
50        #address-cells = <1>;
51        #size-cells = <0>;
52        audio-codec@3c {
53                compatible = "adi,adau1372";
54                reg = <0x3c>;
55                #sound-dai-cells = <0>;
56                clock-names = "mclk";
57                clocks = <&adau1372z_xtal>;
58        };
59    };
60
61    adau1372z_xtal: clock {
62        compatible = "fixed-clock";
63        #clock-cells = <0>;
64        clock-frequency = <12288000>;
65    };
66...
67