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