Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / sound / wlf,wm8580.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/wlf,wm8580.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: WM8580 and WM8581 audio CODEC
8
9 maintainers:
10   - patches@opensource.cirrus.com
11
12 allOf:
13   - $ref: dai-common.yaml#
14
15 properties:
16   compatible:
17     enum:
18       - wlf,wm8580
19       - wlf,wm8581
20
21   reg:
22     maxItems: 1
23
24   "#sound-dai-cells":
25     const: 0
26
27 required:
28   - compatible
29   - reg
30
31 unevaluatedProperties: false
32
33 examples:
34   - |
35     i2c {
36         #address-cells = <1>;
37         #size-cells = <0>;
38         codec@1a {
39             compatible = "wlf,wm8580";
40             reg = <0x1a>;
41         };
42     };