xref: /linux/Documentation/devicetree/bindings/sound/everest,es8316.yaml (revision 6efc0ab3b05de0d7bab8ec0597214e4788251071)
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 and ES8316 audio CODECs
8
9maintainers:
10  - Daniel Drake <drake@endlessm.com>
11  - Katsuhiro Suzuki <katsuhiro@katsuster.net>
12  - Matteo Martelli <matteomartelli3@gmail.com>
13
14allOf:
15  - $ref: dai-common.yaml#
16
17properties:
18  compatible:
19    enum:
20      - everest,es8311
21      - everest,es8316
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    items:
28      - description: clock for master clock (MCLK)
29
30  clock-names:
31    items:
32      - const: mclk
33
34  port:
35    $ref: audio-graph-port.yaml#
36    unevaluatedProperties: false
37
38  "#sound-dai-cells":
39    const: 0
40
41required:
42  - compatible
43  - reg
44  - "#sound-dai-cells"
45
46unevaluatedProperties: false
47
48examples:
49  - |
50    i2c {
51      #address-cells = <1>;
52      #size-cells = <0>;
53      es8316: codec@11 {
54        compatible = "everest,es8316";
55        reg = <0x11>;
56        clocks = <&clks 10>;
57        clock-names = "mclk";
58        #sound-dai-cells = <0>;
59      };
60    };
61