xref: /freebsd/sys/contrib/device-tree/Bindings/sound/wlf,wm8782.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/wlf,wm8782.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: Wolfson Microelectromics WM8782 audio CODEC
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - patches@opensource.cirrus.com
11*0e8011faSEmmanuel Vadot
12*0e8011faSEmmanuel VadotallOf:
13*0e8011faSEmmanuel Vadot  - $ref: dai-common.yaml#
14*0e8011faSEmmanuel Vadot
15*0e8011faSEmmanuel Vadotproperties:
16*0e8011faSEmmanuel Vadot  compatible:
17*0e8011faSEmmanuel Vadot    const: wlf,wm8782
18*0e8011faSEmmanuel Vadot
19*0e8011faSEmmanuel Vadot  Vdda-supply:
20*0e8011faSEmmanuel Vadot    description: Regulator for the analog power supply (2.7V - 5.5V)
21*0e8011faSEmmanuel Vadot
22*0e8011faSEmmanuel Vadot  Vdd-supply:
23*0e8011faSEmmanuel Vadot    description: Regulator for the digital power supply (2.7V - 3.6V)
24*0e8011faSEmmanuel Vadot
25*0e8011faSEmmanuel Vadot  wlf,fsampen:
26*0e8011faSEmmanuel Vadot    description: FSAMPEN pin value, 0 for low, 1 for high, 2 for disconnected.
27*0e8011faSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
28*0e8011faSEmmanuel Vadot    enum: [0, 1, 2]
29*0e8011faSEmmanuel Vadot
30*0e8011faSEmmanuel Vadot  "#sound-dai-cells":
31*0e8011faSEmmanuel Vadot    const: 0
32*0e8011faSEmmanuel Vadot
33*0e8011faSEmmanuel Vadotrequired:
34*0e8011faSEmmanuel Vadot  - compatible
35*0e8011faSEmmanuel Vadot  - Vdda-supply
36*0e8011faSEmmanuel Vadot  - Vdd-supply
37*0e8011faSEmmanuel Vadot
38*0e8011faSEmmanuel VadotunevaluatedProperties: false
39*0e8011faSEmmanuel Vadot
40*0e8011faSEmmanuel Vadotexamples:
41*0e8011faSEmmanuel Vadot  - |
42*0e8011faSEmmanuel Vadot    wm8782: codec {
43*0e8011faSEmmanuel Vadot        compatible = "wlf,wm8782";
44*0e8011faSEmmanuel Vadot        Vdda-supply = <&vdda_supply>;
45*0e8011faSEmmanuel Vadot        Vdd-supply = <&vdd_supply>;
46*0e8011faSEmmanuel Vadot        wlf,fsampen = <2>;
47*0e8011faSEmmanuel Vadot    };
48