xref: /linux/Documentation/devicetree/bindings/sound/adi,max98363.yaml (revision 06d07429858317ded2db7986113a9e0129cd599b)
1276d8c08SRyan Lee# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2276d8c08SRyan Lee%YAML 1.2
3276d8c08SRyan Lee---
4276d8c08SRyan Lee$id: http://devicetree.org/schemas/sound/adi,max98363.yaml#
5276d8c08SRyan Lee$schema: http://devicetree.org/meta-schemas/core.yaml#
6276d8c08SRyan Lee
7276d8c08SRyan Leetitle: Analog Devices MAX98363 SoundWire Amplifier
8276d8c08SRyan Lee
9276d8c08SRyan Leemaintainers:
10276d8c08SRyan Lee  - Ryan Lee <ryans.lee@analog.com>
11276d8c08SRyan Lee
12276d8c08SRyan Leedescription:
13276d8c08SRyan Lee  The MAX98363 is a SoundWire input Class D mono amplifier that
14276d8c08SRyan Lee  supports MIPI SoundWire v1.2-compatible digital interface for
15276d8c08SRyan Lee  audio and control data.
16276d8c08SRyan Lee  SoundWire peripheral device ID of MAX98363 is 0x3*019f836300
17276d8c08SRyan Lee  where * is the peripheral device unique ID decoded from pin.
18276d8c08SRyan Lee  It supports up to 10 peripheral devices(0x0 to 0x9).
19276d8c08SRyan Lee
20276d8c08SRyan LeeallOf:
21276d8c08SRyan Lee  - $ref: dai-common.yaml#
22276d8c08SRyan Lee
23276d8c08SRyan Leeproperties:
24276d8c08SRyan Lee  compatible:
25276d8c08SRyan Lee    const: sdw3019f836300
26276d8c08SRyan Lee
27276d8c08SRyan Lee  reg:
28276d8c08SRyan Lee    maxItems: 1
29276d8c08SRyan Lee
30276d8c08SRyan Lee  '#sound-dai-cells':
31276d8c08SRyan Lee    const: 0
32276d8c08SRyan Lee
33276d8c08SRyan Leerequired:
34276d8c08SRyan Lee  - compatible
35276d8c08SRyan Lee  - reg
36276d8c08SRyan Lee  - "#sound-dai-cells"
37276d8c08SRyan Lee
38276d8c08SRyan LeeunevaluatedProperties: false
39276d8c08SRyan Lee
40276d8c08SRyan Leeexamples:
41276d8c08SRyan Lee  - |
42*dc29d3d2SKrzysztof Kozlowski    soundwire@3250000 {
43276d8c08SRyan Lee        #address-cells = <2>;
44276d8c08SRyan Lee        #size-cells = <0>;
45276d8c08SRyan Lee        reg = <0x3250000 0x2000>;
46276d8c08SRyan Lee
47276d8c08SRyan Lee        speaker@0,0 {
48276d8c08SRyan Lee            compatible = "sdw3019f836300";
49276d8c08SRyan Lee            reg = <0 0>;
50276d8c08SRyan Lee            #sound-dai-cells = <0>;
51276d8c08SRyan Lee            sound-name-prefix = "Speaker Left";
52276d8c08SRyan Lee        };
53276d8c08SRyan Lee
54276d8c08SRyan Lee        speaker@0,1 {
55276d8c08SRyan Lee            compatible = "sdw3019f836300";
56276d8c08SRyan Lee            reg = <0 1>;
57276d8c08SRyan Lee            #sound-dai-cells = <0>;
58276d8c08SRyan Lee            sound-name-prefix = "Speaker Right";
59276d8c08SRyan Lee        };
60276d8c08SRyan Lee    };
61