xref: /freebsd/sys/contrib/device-tree/Bindings/sound/wlf,wm8961.yaml (revision 02e9120893770924227138ba49df1edb3896112a)
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,wm8961.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Wolfson WM8961 Ultra-Low Power Stereo CODEC
8
9maintainers:
10  - patches@opensource.cirrus.com
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
16  compatible:
17    const: wlf,wm8961
18
19  reg:
20    maxItems: 1
21
22  '#sound-dai-cells':
23    const: 0
24
25required:
26  - compatible
27  - reg
28  - '#sound-dai-cells'
29
30unevaluatedProperties: false
31
32examples:
33  - |
34    i2c {
35          #address-cells = <1>;
36          #size-cells = <0>;
37
38          wm8961: codec@4a {
39                  compatible = "wlf,wm8961";
40                  reg = <0x4a>;
41                  #sound-dai-cells = <0>;
42          };
43    };
44