xref: /linux/Documentation/devicetree/bindings/sound/wlf,wm8580.yaml (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
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
7title: WM8580 and WM8581 audio CODEC
8
9maintainers:
10  - patches@opensource.cirrus.com
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
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
27required:
28  - compatible
29  - reg
30
31unevaluatedProperties: false
32
33examples:
34  - |
35    i2c {
36        #address-cells = <1>;
37        #size-cells = <0>;
38        codec@1a {
39            compatible = "wlf,wm8580";
40            reg = <0x1a>;
41        };
42    };
43