xref: /linux/Documentation/devicetree/bindings/sound/everest,es8316.yaml (revision c771600c6af14749609b49565ffb4cac2959710d)
192e67a9cSKatsuhiro Suzuki# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
292e67a9cSKatsuhiro Suzuki%YAML 1.2
392e67a9cSKatsuhiro Suzuki---
492e67a9cSKatsuhiro Suzuki$id: http://devicetree.org/schemas/sound/everest,es8316.yaml#
592e67a9cSKatsuhiro Suzuki$schema: http://devicetree.org/meta-schemas/core.yaml#
692e67a9cSKatsuhiro Suzuki
7*5bf2bea8SBinbin Zhoutitle: Everest ES8311, ES8316 and ES8323 audio CODECs
892e67a9cSKatsuhiro Suzuki
992e67a9cSKatsuhiro Suzukimaintainers:
1092e67a9cSKatsuhiro Suzuki  - Daniel Drake <drake@endlessm.com>
1192e67a9cSKatsuhiro Suzuki  - Katsuhiro Suzuki <katsuhiro@katsuster.net>
1221d35e33SMatteo Martelli  - Matteo Martelli <matteomartelli3@gmail.com>
13*5bf2bea8SBinbin Zhou  - Binbin Zhou <zhoubinbin@loongson.cn>
1492e67a9cSKatsuhiro Suzuki
1558ae9a2aSKrzysztof KozlowskiallOf:
1658ae9a2aSKrzysztof Kozlowski  - $ref: dai-common.yaml#
1758ae9a2aSKrzysztof Kozlowski
1892e67a9cSKatsuhiro Suzukiproperties:
1992e67a9cSKatsuhiro Suzuki  compatible:
2021d35e33SMatteo Martelli    enum:
2121d35e33SMatteo Martelli      - everest,es8311
2221d35e33SMatteo Martelli      - everest,es8316
23*5bf2bea8SBinbin Zhou      - everest,es8323
2492e67a9cSKatsuhiro Suzuki
2592e67a9cSKatsuhiro Suzuki  reg:
2692e67a9cSKatsuhiro Suzuki    maxItems: 1
2792e67a9cSKatsuhiro Suzuki
2892e67a9cSKatsuhiro Suzuki  clocks:
2992e67a9cSKatsuhiro Suzuki    items:
3092e67a9cSKatsuhiro Suzuki      - description: clock for master clock (MCLK)
3192e67a9cSKatsuhiro Suzuki
3292e67a9cSKatsuhiro Suzuki  clock-names:
3392e67a9cSKatsuhiro Suzuki    items:
3492e67a9cSKatsuhiro Suzuki      - const: mclk
3592e67a9cSKatsuhiro Suzuki
362f43ef99SCristian Ciocaltea  port:
372f43ef99SCristian Ciocaltea    $ref: audio-graph-port.yaml#
382f43ef99SCristian Ciocaltea    unevaluatedProperties: false
392f43ef99SCristian Ciocaltea
4092e67a9cSKatsuhiro Suzuki  "#sound-dai-cells":
4192e67a9cSKatsuhiro Suzuki    const: 0
4292e67a9cSKatsuhiro Suzuki
4392e67a9cSKatsuhiro Suzukirequired:
4492e67a9cSKatsuhiro Suzuki  - compatible
4592e67a9cSKatsuhiro Suzuki  - reg
4692e67a9cSKatsuhiro Suzuki  - "#sound-dai-cells"
4792e67a9cSKatsuhiro Suzuki
4858ae9a2aSKrzysztof KozlowskiunevaluatedProperties: false
4992e67a9cSKatsuhiro Suzuki
5092e67a9cSKatsuhiro Suzukiexamples:
5192e67a9cSKatsuhiro Suzuki  - |
5220a72af1SRob Herring    i2c {
5392e67a9cSKatsuhiro Suzuki      #address-cells = <1>;
5492e67a9cSKatsuhiro Suzuki      #size-cells = <0>;
5592e67a9cSKatsuhiro Suzuki      es8316: codec@11 {
5692e67a9cSKatsuhiro Suzuki        compatible = "everest,es8316";
5792e67a9cSKatsuhiro Suzuki        reg = <0x11>;
5892e67a9cSKatsuhiro Suzuki        clocks = <&clks 10>;
5992e67a9cSKatsuhiro Suzuki        clock-names = "mclk";
6092e67a9cSKatsuhiro Suzuki        #sound-dai-cells = <0>;
6192e67a9cSKatsuhiro Suzuki      };
6292e67a9cSKatsuhiro Suzuki    };
63