xref: /freebsd/sys/contrib/device-tree/Bindings/sound/everest,es8389.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/everest,es8389.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Everest ES8389 audio CODEC
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Michael Zhang <zhangyi@everest-semi.com>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel VadotallOf:
13*ae5de77eSEmmanuel Vadot  - $ref: dai-common.yaml#
14*ae5de77eSEmmanuel Vadot
15*ae5de77eSEmmanuel Vadotproperties:
16*ae5de77eSEmmanuel Vadot  compatible:
17*ae5de77eSEmmanuel Vadot    const: everest,es8389
18*ae5de77eSEmmanuel Vadot
19*ae5de77eSEmmanuel Vadot  reg:
20*ae5de77eSEmmanuel Vadot    maxItems: 1
21*ae5de77eSEmmanuel Vadot
22*ae5de77eSEmmanuel Vadot  clocks:
23*ae5de77eSEmmanuel Vadot    items:
24*ae5de77eSEmmanuel Vadot      - description: clock for master clock (MCLK)
25*ae5de77eSEmmanuel Vadot
26*ae5de77eSEmmanuel Vadot  clock-names:
27*ae5de77eSEmmanuel Vadot    items:
28*ae5de77eSEmmanuel Vadot      - const: mclk
29*ae5de77eSEmmanuel Vadot
30*ae5de77eSEmmanuel Vadot  "#sound-dai-cells":
31*ae5de77eSEmmanuel Vadot    const: 0
32*ae5de77eSEmmanuel Vadot
33*ae5de77eSEmmanuel Vadotrequired:
34*ae5de77eSEmmanuel Vadot  - compatible
35*ae5de77eSEmmanuel Vadot  - reg
36*ae5de77eSEmmanuel Vadot  - "#sound-dai-cells"
37*ae5de77eSEmmanuel Vadot
38*ae5de77eSEmmanuel VadotadditionalProperties: false
39*ae5de77eSEmmanuel Vadot
40*ae5de77eSEmmanuel Vadotexamples:
41*ae5de77eSEmmanuel Vadot  - |
42*ae5de77eSEmmanuel Vadot    i2c {
43*ae5de77eSEmmanuel Vadot      #address-cells = <1>;
44*ae5de77eSEmmanuel Vadot      #size-cells = <0>;
45*ae5de77eSEmmanuel Vadot      es8389: codec@10 {
46*ae5de77eSEmmanuel Vadot        compatible = "everest,es8389";
47*ae5de77eSEmmanuel Vadot        reg = <0x10>;
48*ae5de77eSEmmanuel Vadot        #sound-dai-cells = <0>;
49*ae5de77eSEmmanuel Vadot      };
50*ae5de77eSEmmanuel Vadot    };
51