xref: /linux/Documentation/devicetree/bindings/sound/maxim,max98088.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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,max98088.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MAX98088 audio CODEC
8
9maintainers:
10  - Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
11
12properties:
13  compatible:
14    enum:
15      - maxim,max98088
16      - maxim,max98089
17
18  reg:
19    maxItems: 1
20
21  clocks:
22    items:
23      - description: master clock
24
25  clock-names:
26    items:
27      - const: mclk
28
29required:
30  - compatible
31  - reg
32
33additionalProperties: false
34
35examples:
36  - |
37    i2c {
38        #address-cells = <1>;
39        #size-cells = <0>;
40
41        audio-codec@10 {
42            compatible = "maxim,max98089";
43            reg = <0x10>;
44            clocks = <&clks 0>;
45            clock-names = "mclk";
46        };
47    };
48