1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/qcom,wsa881x.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm WSA8810/WSA8815 Class-D Smart Speaker Amplifier
8
9maintainers:
10  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11
12description: |
13  WSA8810 is a class-D smart speaker amplifier and WSA8815
14  is a high-output power class-D smart speaker amplifier.
15  Their primary operating mode uses a SoundWire digital audio
16  interface. This binding is for SoundWire interface.
17
18properties:
19  compatible:
20    const: sdw10217201000
21
22  reg:
23    maxItems: 1
24
25  powerdown-gpios:
26    description: GPIO spec for Powerdown/Shutdown line to use
27    maxItems: 1
28
29  '#thermal-sensor-cells':
30    const: 0
31
32  '#sound-dai-cells':
33    const: 0
34
35required:
36  - compatible
37  - reg
38  - powerdown-gpios
39  - "#thermal-sensor-cells"
40  - "#sound-dai-cells"
41
42additionalProperties: false
43
44examples:
45  - |
46    soundwire@c2d0000 {
47        #address-cells = <2>;
48        #size-cells = <0>;
49        reg = <0x0c2d0000 0x2000>;
50
51        speaker@0,1 {
52            compatible = "sdw10217201000";
53            reg = <0 1>;
54            powerdown-gpios = <&wcdpinctrl 2 0>;
55            #thermal-sensor-cells = <0>;
56            #sound-dai-cells = <0>;
57        };
58
59        speaker@0,2 {
60            compatible = "sdw10217201000";
61            reg = <0 2>;
62            powerdown-gpios = <&wcdpinctrl 2 0>;
63            #thermal-sensor-cells = <0>;
64            #sound-dai-cells = <0>;
65        };
66    };
67
68...
69