xref: /freebsd/sys/contrib/device-tree/Bindings/sound/wlf,wm8523.yaml (revision 5f4c09dd85bff675e0ca63c55ea3c517e0fddfcc)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/wlf,wm8523.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: WM8523 audio CODEC
8
9maintainers:
10  - patches@opensource.cirrus.com
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
16  compatible:
17    const: wlf,wm8523
18
19  reg:
20    maxItems: 1
21
22  "#sound-dai-cells":
23    const: 0
24
25required:
26  - compatible
27  - reg
28
29unevaluatedProperties: false
30
31examples:
32  - |
33    i2c {
34        #address-cells = <1>;
35        #size-cells = <0>;
36        codec@1a {
37            compatible = "wlf,wm8523";
38            reg = <0x1a>;
39        };
40    };
41