Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / sound / maxim,max9867.yaml
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
7 title: Maxim Integrated MAX9867 CODEC
8
9 description: |
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
21 maintainers:
22   - Ladislav Michl <ladis@linux-mips.org>
23
24 allOf:
25   - $ref: dai-common.yaml#
26
27 properties:
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
41 required:
42   - compatible
43   - reg
44   - clocks
45
46 additionalProperties: false
47
48 examples:
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 ...