blob: 96859e38315b1a85a5bb3238875ec75e775d50aa [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
Tom Rini6b642ac2024-10-01 12:20:28 -06004$id: http://devicetree.org/schemas/sound/wlf,wm8750.yaml#
Tom Rini53633a82024-02-29 12:33:36 -05005$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: WM8750 and WM8987 audio CODECs
8
9description: |
10 These devices support both I2C and SPI (configured with pin strapping
11 on the board).
12
13maintainers:
14 - Mark Brown <broonie@kernel.org>
15
16properties:
17 compatible:
18 enum:
19 - wlf,wm8750
20 - wlf,wm8987
21
22 reg:
23 description:
24 The I2C address of the device for I2C, the chip select number for SPI
25 maxItems: 1
26
27additionalProperties: false
28
29required:
30 - reg
31
32examples:
33 - |
34 i2c {
35 #address-cells = <1>;
36 #size-cells = <0>;
37
38 codec@1a {
39 compatible = "wlf,wm8750";
40 reg = <0x1a>;
41 };
42 };