xref: /linux/Documentation/devicetree/bindings/sound/maxim,max98371.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1*5781c22eSAndré Morishita# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*5781c22eSAndré Morishita%YAML 1.2
3*5781c22eSAndré Morishita---
4*5781c22eSAndré Morishita$id: http://devicetree.org/schemas/sound/maxim,max98371.yaml#
5*5781c22eSAndré Morishita$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5781c22eSAndré Morishita
7*5781c22eSAndré Morishitatitle: Maxim MAX98371 audio codec
8*5781c22eSAndré Morishita
9*5781c22eSAndré Morishitamaintainers:
10*5781c22eSAndré Morishita  - anish kumar <yesanishhere@gmail.com>
11*5781c22eSAndré Morishita
12*5781c22eSAndré MorishitaallOf:
13*5781c22eSAndré Morishita  - $ref: dai-common.yaml#
14*5781c22eSAndré Morishita
15*5781c22eSAndré Morishitaproperties:
16*5781c22eSAndré Morishita  compatible:
17*5781c22eSAndré Morishita    const: maxim,max98371
18*5781c22eSAndré Morishita
19*5781c22eSAndré Morishita  '#sound-dai-cells':
20*5781c22eSAndré Morishita    const: 0
21*5781c22eSAndré Morishita
22*5781c22eSAndré Morishita  reg:
23*5781c22eSAndré Morishita    maxItems: 1
24*5781c22eSAndré Morishita
25*5781c22eSAndré Morishitarequired:
26*5781c22eSAndré Morishita  - compatible
27*5781c22eSAndré Morishita  - reg
28*5781c22eSAndré Morishita
29*5781c22eSAndré MorishitaunevaluatedProperties: false
30*5781c22eSAndré Morishita
31*5781c22eSAndré Morishitaexamples:
32*5781c22eSAndré Morishita  - |
33*5781c22eSAndré Morishita    i2c {
34*5781c22eSAndré Morishita        #address-cells = <1>;
35*5781c22eSAndré Morishita        #size-cells = <0>;
36*5781c22eSAndré Morishita
37*5781c22eSAndré Morishita        codec@31 {
38*5781c22eSAndré Morishita            compatible = "maxim,max98371";
39*5781c22eSAndré Morishita            reg = <0x31>;
40*5781c22eSAndré Morishita            #sound-dai-cells = <0>;
41*5781c22eSAndré Morishita        };
42*5781c22eSAndré Morishita    };
43