xref: /linux/Documentation/devicetree/bindings/sound/everest,es8389.yaml (revision a9e6060bb2a6cae6d43a98ec0794844ad01273d3)
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,es8389.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Everest ES8389 audio CODEC
8
9maintainers:
10  - Michael Zhang <zhangyi@everest-semi.com>
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
16  compatible:
17    const: everest,es8389
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    items:
24      - description: clock for master clock (MCLK)
25
26  clock-names:
27    items:
28      - const: mclk
29
30  "#sound-dai-cells":
31    const: 0
32
33required:
34  - compatible
35  - reg
36  - "#sound-dai-cells"
37
38additionalProperties: false
39
40examples:
41  - |
42    i2c {
43      #address-cells = <1>;
44      #size-cells = <0>;
45      es8389: codec@10 {
46        compatible = "everest,es8389";
47        reg = <0x10>;
48        #sound-dai-cells = <0>;
49      };
50    };
51