blob: 3e809217c4ca0bc79a39c85749b5db6e9a984032 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/wlf,wm8940.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Wolfson WM8940 Codec
8
9maintainers:
10 - patches@opensource.cirrus.com
11
12allOf:
13 - $ref: dai-common.yaml#
14
15properties:
16 '#sound-dai-cells':
17 const: 0
18
19 compatible:
20 const: wlf,wm8940
21
22 reg:
23 maxItems: 1
24
25 spi-max-frequency:
26 maximum: 526000
27
28required:
29 - '#sound-dai-cells'
30 - compatible
31 - reg
32
33unevaluatedProperties: false
34
35examples:
36 - |
37 spi {
38 #address-cells = <1>;
39 #size-cells = <0>;
40
41 codec@0 {
42 #sound-dai-cells = <0>;
43 compatible = "wlf,wm8940";
44 reg = <0>;
45 spi-max-frequency = <500000>;
46 };
47 };
48 - |
49 i2c {
50 #address-cells = <1>;
51 #size-cells = <0>;
52
53 codec@1a {
54 #sound-dai-cells = <0>;
55 compatible = "wlf,wm8940";
56 reg = <0x1a>;
57 };
58 };
59
60...