File Index
Files and directories
Sign in
FILE

maxim,max98095.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/sound/maxim,max98095.yaml 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,max98095.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Maxim Integrated MAX98095 audio codec
 8
 9maintainers:
10  - Krzysztof Kozlowski <krzk@kernel.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    };
~/ Read-only file preview.