xref: /freebsd/sys/contrib/device-tree/Bindings/sound/wlf,wm8580.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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