xref: /freebsd/sys/contrib/device-tree/Bindings/sound/maxim,max9867.yaml (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
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
38  clocks:
39    maxItems: 1
40
41required:
42  - compatible
43  - reg
44  - clocks
45
46additionalProperties: false
47
48examples:
49  - |
50    i2c {
51        #address-cells = <1>;
52        #size-cells = <0>;
53        codec@18 {
54            compatible = "maxim,max9867";
55            #sound-dai-cells = <0>;
56            reg = <0x18>;
57            clocks = <&codec_clk>;
58        };
59    };
60...
61