xref: /linux/Documentation/devicetree/bindings/sound/wlf,wm8750.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1*ae8fc294SKuninori Morimoto# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*ae8fc294SKuninori Morimoto%YAML 1.2
3*ae8fc294SKuninori Morimoto---
4*ae8fc294SKuninori Morimoto$id: http://devicetree.org/schemas/sound/wlf,wm8750.yaml#
5*ae8fc294SKuninori Morimoto$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae8fc294SKuninori Morimoto
7*ae8fc294SKuninori Morimototitle: WM8750 and WM8987 audio CODECs
8*ae8fc294SKuninori Morimoto
9*ae8fc294SKuninori Morimotodescription: |
10*ae8fc294SKuninori Morimoto  These devices support both I2C and SPI (configured with pin strapping
11*ae8fc294SKuninori Morimoto  on the board).
12*ae8fc294SKuninori Morimoto
13*ae8fc294SKuninori Morimotomaintainers:
14*ae8fc294SKuninori Morimoto  - Mark Brown <broonie@kernel.org>
15*ae8fc294SKuninori Morimoto
16*ae8fc294SKuninori Morimotoproperties:
17*ae8fc294SKuninori Morimoto  compatible:
18*ae8fc294SKuninori Morimoto    enum:
19*ae8fc294SKuninori Morimoto      - wlf,wm8750
20*ae8fc294SKuninori Morimoto      - wlf,wm8987
21*ae8fc294SKuninori Morimoto
22*ae8fc294SKuninori Morimoto  reg:
23*ae8fc294SKuninori Morimoto    description:
24*ae8fc294SKuninori Morimoto      The I2C address of the device for I2C, the chip select number for SPI
25*ae8fc294SKuninori Morimoto    maxItems: 1
26*ae8fc294SKuninori Morimoto
27*ae8fc294SKuninori MorimotoadditionalProperties: false
28*ae8fc294SKuninori Morimoto
29*ae8fc294SKuninori Morimotorequired:
30*ae8fc294SKuninori Morimoto  - reg
31*ae8fc294SKuninori Morimoto
32*ae8fc294SKuninori Morimotoexamples:
33*ae8fc294SKuninori Morimoto  - |
34*ae8fc294SKuninori Morimoto    i2c {
35*ae8fc294SKuninori Morimoto        #address-cells = <1>;
36*ae8fc294SKuninori Morimoto        #size-cells = <0>;
37*ae8fc294SKuninori Morimoto
38*ae8fc294SKuninori Morimoto        codec@1a {
39*ae8fc294SKuninori Morimoto            compatible = "wlf,wm8750";
40*ae8fc294SKuninori Morimoto            reg = <0x1a>;
41*ae8fc294SKuninori Morimoto        };
42*ae8fc294SKuninori Morimoto    };
43