xref: /freebsd/sys/contrib/device-tree/Bindings/sound/everest,es8375.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,es8375.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Everest ES8375 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,es8375
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  vdda-supply:
31*ae5de77eSEmmanuel Vadot    description:
32*ae5de77eSEmmanuel Vadot      Analogue power supply.
33*ae5de77eSEmmanuel Vadot
34*ae5de77eSEmmanuel Vadot  vddd-supply:
35*ae5de77eSEmmanuel Vadot    description:
36*ae5de77eSEmmanuel Vadot      Interface power supply.
37*ae5de77eSEmmanuel Vadot
38*ae5de77eSEmmanuel Vadot  everest,mclk-src:
39*ae5de77eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint8
40*ae5de77eSEmmanuel Vadot    description: |
41*ae5de77eSEmmanuel Vadot      Represents the MCLK/SCLK pair pins used as the internal clock.
42*ae5de77eSEmmanuel Vadot      0 represents selecting MCLK.
43*ae5de77eSEmmanuel Vadot      1 represents selecting SCLK.
44*ae5de77eSEmmanuel Vadot    enum: [0, 1]
45*ae5de77eSEmmanuel Vadot    default: 0
46*ae5de77eSEmmanuel Vadot
47*ae5de77eSEmmanuel Vadot  "#sound-dai-cells":
48*ae5de77eSEmmanuel Vadot    const: 0
49*ae5de77eSEmmanuel Vadot
50*ae5de77eSEmmanuel Vadotrequired:
51*ae5de77eSEmmanuel Vadot  - compatible
52*ae5de77eSEmmanuel Vadot  - reg
53*ae5de77eSEmmanuel Vadot  - "#sound-dai-cells"
54*ae5de77eSEmmanuel Vadot  - vdda-supply
55*ae5de77eSEmmanuel Vadot  - vddd-supply
56*ae5de77eSEmmanuel Vadot
57*ae5de77eSEmmanuel VadotadditionalProperties: false
58*ae5de77eSEmmanuel Vadot
59*ae5de77eSEmmanuel Vadotexamples:
60*ae5de77eSEmmanuel Vadot  - |
61*ae5de77eSEmmanuel Vadot    i2c {
62*ae5de77eSEmmanuel Vadot      #address-cells = <1>;
63*ae5de77eSEmmanuel Vadot      #size-cells = <0>;
64*ae5de77eSEmmanuel Vadot      es8375: codec@18 {
65*ae5de77eSEmmanuel Vadot        compatible = "everest,es8375";
66*ae5de77eSEmmanuel Vadot        reg = <0x18>;
67*ae5de77eSEmmanuel Vadot        vdda-supply = <&vdd3v3>;
68*ae5de77eSEmmanuel Vadot        vddd-supply = <&vdd3v3>;
69*ae5de77eSEmmanuel Vadot        #sound-dai-cells = <0>;
70*ae5de77eSEmmanuel Vadot      };
71*ae5de77eSEmmanuel Vadot    };
72