1*276d8c08SRyan Lee# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*276d8c08SRyan Lee%YAML 1.2
3*276d8c08SRyan Lee---
4*276d8c08SRyan Lee$id: http://devicetree.org/schemas/sound/adi,max98363.yaml#
5*276d8c08SRyan Lee$schema: http://devicetree.org/meta-schemas/core.yaml#
6*276d8c08SRyan Lee
7*276d8c08SRyan Leetitle: Analog Devices MAX98363 SoundWire Amplifier
8*276d8c08SRyan Lee
9*276d8c08SRyan Leemaintainers:
10*276d8c08SRyan Lee  - Ryan Lee <ryans.lee@analog.com>
11*276d8c08SRyan Lee
12*276d8c08SRyan Leedescription:
13*276d8c08SRyan Lee  The MAX98363 is a SoundWire input Class D mono amplifier that
14*276d8c08SRyan Lee  supports MIPI SoundWire v1.2-compatible digital interface for
15*276d8c08SRyan Lee  audio and control data.
16*276d8c08SRyan Lee  SoundWire peripheral device ID of MAX98363 is 0x3*019f836300
17*276d8c08SRyan Lee  where * is the peripheral device unique ID decoded from pin.
18*276d8c08SRyan Lee  It supports up to 10 peripheral devices(0x0 to 0x9).
19*276d8c08SRyan Lee
20*276d8c08SRyan LeeallOf:
21*276d8c08SRyan Lee  - $ref: dai-common.yaml#
22*276d8c08SRyan Lee
23*276d8c08SRyan Leeproperties:
24*276d8c08SRyan Lee  compatible:
25*276d8c08SRyan Lee    const: sdw3019f836300
26*276d8c08SRyan Lee
27*276d8c08SRyan Lee  reg:
28*276d8c08SRyan Lee    maxItems: 1
29*276d8c08SRyan Lee
30*276d8c08SRyan Lee  '#sound-dai-cells':
31*276d8c08SRyan Lee    const: 0
32*276d8c08SRyan Lee
33*276d8c08SRyan Leerequired:
34*276d8c08SRyan Lee  - compatible
35*276d8c08SRyan Lee  - reg
36*276d8c08SRyan Lee  - "#sound-dai-cells"
37*276d8c08SRyan Lee
38*276d8c08SRyan LeeunevaluatedProperties: false
39*276d8c08SRyan Lee
40*276d8c08SRyan Leeexamples:
41*276d8c08SRyan Lee  - |
42*276d8c08SRyan Lee    soundwire-controller@3250000 {
43*276d8c08SRyan Lee        #address-cells = <2>;
44*276d8c08SRyan Lee        #size-cells = <0>;
45*276d8c08SRyan Lee        reg = <0x3250000 0x2000>;
46*276d8c08SRyan Lee
47*276d8c08SRyan Lee        speaker@0,0 {
48*276d8c08SRyan Lee            compatible = "sdw3019f836300";
49*276d8c08SRyan Lee            reg = <0 0>;
50*276d8c08SRyan Lee            #sound-dai-cells = <0>;
51*276d8c08SRyan Lee            sound-name-prefix = "Speaker Left";
52*276d8c08SRyan Lee        };
53*276d8c08SRyan Lee
54*276d8c08SRyan Lee        speaker@0,1 {
55*276d8c08SRyan Lee            compatible = "sdw3019f836300";
56*276d8c08SRyan Lee            reg = <0 1>;
57*276d8c08SRyan Lee            #sound-dai-cells = <0>;
58*276d8c08SRyan Lee            sound-name-prefix = "Speaker Right";
59*276d8c08SRyan Lee        };
60*276d8c08SRyan Lee    };
61