Debian Codegraph @

Documentation/devicetree/bindings/sound/wlf,wm8782.yaml

raw
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
7 title: Wolfson Microelectromics WM8782 audio CODEC
8
9 maintainers:
10 - [email protected]
11
12 allOf:
13 - $ref: dai-common.yaml#
14
15 properties:
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
33 required:
34 - compatible
35 - Vdda-supply
36 - Vdd-supply
37
38 unevaluatedProperties: false
39
40 examples:
41 - |
42 wm8782: codec {
43 compatible = "wlf,wm8782";
44 Vdda-supply = <&vdda_supply>;
45 Vdd-supply = <&vdd_supply>;
46 wlf,fsampen = <2>;
47 };