xref: /linux/Documentation/devicetree/bindings/sound/everest,es8316.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/everest,es8316.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Everest ES8311, ES8316 and ES8323 audio CODECs
8
9maintainers:
10  - Daniel Drake <drake@endlessm.com>
11  - Katsuhiro Suzuki <katsuhiro@katsuster.net>
12  - Matteo Martelli <matteomartelli3@gmail.com>
13  - Binbin Zhou <zhoubinbin@loongson.cn>
14
15allOf:
16  - $ref: dai-common.yaml#
17
18properties:
19  compatible:
20    enum:
21      - everest,es8311
22      - everest,es8316
23      - everest,es8323
24
25  reg:
26    maxItems: 1
27
28  clocks:
29    items:
30      - description: clock for master clock (MCLK)
31
32  clock-names:
33    items:
34      - const: mclk
35
36  port:
37    $ref: audio-graph-port.yaml#
38    unevaluatedProperties: false
39
40  "#sound-dai-cells":
41    const: 0
42
43required:
44  - compatible
45  - reg
46  - "#sound-dai-cells"
47
48unevaluatedProperties: false
49
50examples:
51  - |
52    i2c {
53      #address-cells = <1>;
54      #size-cells = <0>;
55      es8316: codec@11 {
56        compatible = "everest,es8316";
57        reg = <0x11>;
58        clocks = <&clks 10>;
59        clock-names = "mclk";
60        #sound-dai-cells = <0>;
61      };
62    };
63