xref: /freebsd/sys/contrib/device-tree/Bindings/sound/everest,es8328.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1*8d13bc63SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8d13bc63SEmmanuel Vadot%YAML 1.2
3*8d13bc63SEmmanuel Vadot---
4*8d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/everest,es8328.yaml#
5*8d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8d13bc63SEmmanuel Vadot
7*8d13bc63SEmmanuel Vadottitle: Everest ES8328 audio CODEC
8*8d13bc63SEmmanuel Vadot
9*8d13bc63SEmmanuel Vadotdescription:
10*8d13bc63SEmmanuel Vadot  Everest Audio Codec, which can be connected via I2C or SPI.
11*8d13bc63SEmmanuel Vadot  Pins on the device (for linking into audio routes) are
12*8d13bc63SEmmanuel Vadot  * LOUT1
13*8d13bc63SEmmanuel Vadot  * LOUT2
14*8d13bc63SEmmanuel Vadot  * ROUT1
15*8d13bc63SEmmanuel Vadot  * ROUT2
16*8d13bc63SEmmanuel Vadot  * LINPUT1
17*8d13bc63SEmmanuel Vadot  * RINPUT1
18*8d13bc63SEmmanuel Vadot  * LINPUT2
19*8d13bc63SEmmanuel Vadot  * RINPUT2
20*8d13bc63SEmmanuel Vadot  * Mic Bias
21*8d13bc63SEmmanuel Vadot
22*8d13bc63SEmmanuel Vadotmaintainers:
23*8d13bc63SEmmanuel Vadot  - David Yang <yangxiaohua@everest-semi.com>
24*8d13bc63SEmmanuel Vadot
25*8d13bc63SEmmanuel Vadotproperties:
26*8d13bc63SEmmanuel Vadot  compatible:
27*8d13bc63SEmmanuel Vadot    enum:
28*8d13bc63SEmmanuel Vadot      - everest,es8328
29*8d13bc63SEmmanuel Vadot      - everest,es8388
30*8d13bc63SEmmanuel Vadot
31*8d13bc63SEmmanuel Vadot  reg:
32*8d13bc63SEmmanuel Vadot    maxItems: 1
33*8d13bc63SEmmanuel Vadot
34*8d13bc63SEmmanuel Vadot  "#sound-dai-cells":
35*8d13bc63SEmmanuel Vadot    const: 0
36*8d13bc63SEmmanuel Vadot
37*8d13bc63SEmmanuel Vadot  clocks:
38*8d13bc63SEmmanuel Vadot    items:
39*8d13bc63SEmmanuel Vadot      - description: A 22.5792 or 11.2896 MHz clock
40*8d13bc63SEmmanuel Vadot
41*8d13bc63SEmmanuel Vadot  DVDD-supply:
42*8d13bc63SEmmanuel Vadot    description: Regulator providing digital core supply voltage 1.8 - 3.6V
43*8d13bc63SEmmanuel Vadot
44*8d13bc63SEmmanuel Vadot  AVDD-supply:
45*8d13bc63SEmmanuel Vadot    description: Regulator providing analog supply voltage 3.3V
46*8d13bc63SEmmanuel Vadot
47*8d13bc63SEmmanuel Vadot  PVDD-supply:
48*8d13bc63SEmmanuel Vadot    description: Regulator providing digital IO supply voltage 1.8 - 3.6V
49*8d13bc63SEmmanuel Vadot
50*8d13bc63SEmmanuel Vadot  HPVDD-supply:
51*8d13bc63SEmmanuel Vadot    description: Regulator providing analog output voltage 3.3V
52*8d13bc63SEmmanuel Vadot
53*8d13bc63SEmmanuel Vadotrequired:
54*8d13bc63SEmmanuel Vadot  - compatible
55*8d13bc63SEmmanuel Vadot  - clocks
56*8d13bc63SEmmanuel Vadot  - DVDD-supply
57*8d13bc63SEmmanuel Vadot  - AVDD-supply
58*8d13bc63SEmmanuel Vadot  - PVDD-supply
59*8d13bc63SEmmanuel Vadot  - HPVDD-supply
60*8d13bc63SEmmanuel Vadot
61*8d13bc63SEmmanuel VadotadditionalProperties: false
62*8d13bc63SEmmanuel Vadot
63*8d13bc63SEmmanuel Vadotexamples:
64*8d13bc63SEmmanuel Vadot  - |
65*8d13bc63SEmmanuel Vadot    i2c {
66*8d13bc63SEmmanuel Vadot      #address-cells = <1>;
67*8d13bc63SEmmanuel Vadot      #size-cells = <0>;
68*8d13bc63SEmmanuel Vadot      es8328: codec@11 {
69*8d13bc63SEmmanuel Vadot        compatible = "everest,es8328";
70*8d13bc63SEmmanuel Vadot        reg = <0x11>;
71*8d13bc63SEmmanuel Vadot        AVDD-supply = <&reg_3p3v>;
72*8d13bc63SEmmanuel Vadot        DVDD-supply = <&reg_3p3v>;
73*8d13bc63SEmmanuel Vadot        HPVDD-supply = <&reg_3p3v>;
74*8d13bc63SEmmanuel Vadot        PVDD-supply = <&reg_3p3v>;
75*8d13bc63SEmmanuel Vadot        clocks = <&clks 169>;
76*8d13bc63SEmmanuel Vadot      };
77*8d13bc63SEmmanuel Vadot    };
78