blob: 77544a9e1587f57c5c02bab08114f368a23fc293 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/maxim,max98095.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim Integrated MAX98095 audio codec
8
9maintainers:
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11
12allOf:
13 - $ref: dai-common.yaml#
14
15properties:
16 compatible:
17 enum:
18 - maxim,max98095
19
20 reg:
21 maxItems: 1
22
23 clocks:
24 items:
25 - description: master clock
26
27 clock-names:
28 items:
29 - const: mclk
30
31 '#sound-dai-cells':
32 const: 1
33
34required:
35 - compatible
36 - reg
37
38unevaluatedProperties: false
39
40examples:
41 - |
42 #include <dt-bindings/interrupt-controller/irq.h>
43
44 i2c {
45 #address-cells = <1>;
46 #size-cells = <0>;
47
48 audio-codec@11 {
49 compatible = "maxim,max98095";
50 reg = <0x11>;
51 clocks = <&i2s0 0>;
52 clock-names = "mclk";
53 };
54 };