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