1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/maxim,max9867.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim Integrated MAX9867 CODEC
8
9description: |
10  This device supports I2C only.
11  Pins on the device (for linking into audio routes):
12      * LOUT
13      * ROUT
14      * LINL
15      * LINR
16      * MICL
17      * MICR
18      * DMICL
19      * DMICR
20
21maintainers:
22  - Ladislav Michl <ladis@linux-mips.org>
23
24allOf:
25  - $ref: dai-common.yaml#
26
27properties:
28  compatible:
29    enum:
30      - maxim,max9867
31
32  '#sound-dai-cells':
33    const: 0
34
35  reg:
36    maxItems: 1
37
38required:
39  - compatible
40  - reg
41
42additionalProperties: false
43
44examples:
45  - |
46    i2c {
47        #address-cells = <1>;
48        #size-cells = <0>;
49        codec@18 {
50            compatible = "maxim,max9867";
51            #sound-dai-cells = <0>;
52            reg = <0x18>;
53        };
54    };
55...
56