xref: /linux/Documentation/devicetree/bindings/sound/everest,es8316.yaml (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
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
13properties:
14  compatible:
15    const: everest,es8316
16
17  reg:
18    maxItems: 1
19
20  clocks:
21    items:
22      - description: clock for master clock (MCLK)
23
24  clock-names:
25    items:
26      - const: mclk
27
28  "#sound-dai-cells":
29    const: 0
30
31required:
32  - compatible
33  - reg
34  - "#sound-dai-cells"
35
36additionalProperties: false
37
38examples:
39  - |
40    i2c0 {
41      #address-cells = <1>;
42      #size-cells = <0>;
43      es8316: codec@11 {
44        compatible = "everest,es8316";
45        reg = <0x11>;
46        clocks = <&clks 10>;
47        clock-names = "mclk";
48        #sound-dai-cells = <0>;
49      };
50    };
51