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