1*48edd3d1SSaalim Quadri# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*48edd3d1SSaalim Quadri%YAML 1.2
3*48edd3d1SSaalim Quadri---
4*48edd3d1SSaalim Quadri$id: http://devicetree.org/schemas/sound/wlf,wm8580.yaml#
5*48edd3d1SSaalim Quadri$schema: http://devicetree.org/meta-schemas/core.yaml#
6*48edd3d1SSaalim Quadri
7*48edd3d1SSaalim Quadrititle: WM8580 and WM8581 audio CODEC
8*48edd3d1SSaalim Quadri
9*48edd3d1SSaalim Quadrimaintainers:
10*48edd3d1SSaalim Quadri  - patches@opensource.cirrus.com
11*48edd3d1SSaalim Quadri
12*48edd3d1SSaalim QuadriallOf:
13*48edd3d1SSaalim Quadri  - $ref: dai-common.yaml#
14*48edd3d1SSaalim Quadri
15*48edd3d1SSaalim Quadriproperties:
16*48edd3d1SSaalim Quadri  compatible:
17*48edd3d1SSaalim Quadri    enum:
18*48edd3d1SSaalim Quadri      - wlf,wm8580
19*48edd3d1SSaalim Quadri      - wlf,wm8581
20*48edd3d1SSaalim Quadri
21*48edd3d1SSaalim Quadri  reg:
22*48edd3d1SSaalim Quadri    maxItems: 1
23*48edd3d1SSaalim Quadri
24*48edd3d1SSaalim Quadri  "#sound-dai-cells":
25*48edd3d1SSaalim Quadri    const: 0
26*48edd3d1SSaalim Quadri
27*48edd3d1SSaalim Quadrirequired:
28*48edd3d1SSaalim Quadri  - compatible
29*48edd3d1SSaalim Quadri  - reg
30*48edd3d1SSaalim Quadri
31*48edd3d1SSaalim QuadriunevaluatedProperties: false
32*48edd3d1SSaalim Quadri
33*48edd3d1SSaalim Quadriexamples:
34*48edd3d1SSaalim Quadri  - |
35*48edd3d1SSaalim Quadri    i2c {
36*48edd3d1SSaalim Quadri        #address-cells = <1>;
37*48edd3d1SSaalim Quadri        #size-cells = <0>;
38*48edd3d1SSaalim Quadri        codec@1a {
39*48edd3d1SSaalim Quadri            compatible = "wlf,wm8580";
40*48edd3d1SSaalim Quadri            reg = <0x1a>;
41*48edd3d1SSaalim Quadri        };
42*48edd3d1SSaalim Quadri    };
43