xref: /freebsd/sys/contrib/device-tree/Bindings/sound/everest,es8316.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/everest,es8316.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Everest ES8316 audio CODEC
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Daniel Drake <drake@endlessm.com>
11c66ec88fSEmmanuel Vadot  - Katsuhiro Suzuki <katsuhiro@katsuster.net>
12c66ec88fSEmmanuel Vadot
138bab661aSEmmanuel VadotallOf:
148bab661aSEmmanuel Vadot  - $ref: dai-common.yaml#
158bab661aSEmmanuel Vadot
16c66ec88fSEmmanuel Vadotproperties:
17c66ec88fSEmmanuel Vadot  compatible:
18c66ec88fSEmmanuel Vadot    const: everest,es8316
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot  reg:
21c66ec88fSEmmanuel Vadot    maxItems: 1
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot  clocks:
24c66ec88fSEmmanuel Vadot    items:
25c66ec88fSEmmanuel Vadot      - description: clock for master clock (MCLK)
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  clock-names:
28c66ec88fSEmmanuel Vadot    items:
29c66ec88fSEmmanuel Vadot      - const: mclk
30c66ec88fSEmmanuel Vadot
31*fac71e4eSEmmanuel Vadot  port:
32*fac71e4eSEmmanuel Vadot    $ref: audio-graph-port.yaml#
33*fac71e4eSEmmanuel Vadot    unevaluatedProperties: false
34*fac71e4eSEmmanuel Vadot
35c66ec88fSEmmanuel Vadot  "#sound-dai-cells":
36c66ec88fSEmmanuel Vadot    const: 0
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadotrequired:
39c66ec88fSEmmanuel Vadot  - compatible
40c66ec88fSEmmanuel Vadot  - reg
41c66ec88fSEmmanuel Vadot  - "#sound-dai-cells"
42c66ec88fSEmmanuel Vadot
438bab661aSEmmanuel VadotunevaluatedProperties: false
44c66ec88fSEmmanuel Vadot
45c66ec88fSEmmanuel Vadotexamples:
46c66ec88fSEmmanuel Vadot  - |
47*fac71e4eSEmmanuel Vadot    i2c {
48c66ec88fSEmmanuel Vadot      #address-cells = <1>;
49c66ec88fSEmmanuel Vadot      #size-cells = <0>;
50c66ec88fSEmmanuel Vadot      es8316: codec@11 {
51c66ec88fSEmmanuel Vadot        compatible = "everest,es8316";
52c66ec88fSEmmanuel Vadot        reg = <0x11>;
53c66ec88fSEmmanuel Vadot        clocks = <&clks 10>;
54c66ec88fSEmmanuel Vadot        clock-names = "mclk";
55c66ec88fSEmmanuel Vadot        #sound-dai-cells = <0>;
56c66ec88fSEmmanuel Vadot      };
57c66ec88fSEmmanuel Vadot    };
58