xref: /linux/Documentation/devicetree/bindings/sound/everest,es8316.yaml (revision 8a922b7728a93d837954315c98b84f6b78de0c4f)
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  "#sound-dai-cells":
32    const: 0
33
34required:
35  - compatible
36  - reg
37  - "#sound-dai-cells"
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    i2c0 {
44      #address-cells = <1>;
45      #size-cells = <0>;
46      es8316: codec@11 {
47        compatible = "everest,es8316";
48        reg = <0x11>;
49        clocks = <&clks 10>;
50        clock-names = "mclk";
51        #sound-dai-cells = <0>;
52      };
53    };
54