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,wsa883x.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Bindings for The Qualcomm WSA8830/WSA8832/WSA8835
8  smart speaker amplifier
9
10maintainers:
11  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12
13description: |
14  WSA883X is the Qualcomm Aqstic 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: sdw10217020200
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  vdd-supply:
30    description: VDD Supply for the Codec
31
32  '#thermal-sensor-cells':
33    const: 0
34
35  '#sound-dai-cells':
36    const: 0
37
38required:
39  - compatible
40  - reg
41  - vdd-supply
42  - powerdown-gpios
43  - "#thermal-sensor-cells"
44  - "#sound-dai-cells"
45
46additionalProperties: false
47
48examples:
49  - |
50    soundwire-controller@3250000 {
51        #address-cells = <2>;
52        #size-cells = <0>;
53        reg = <0x3250000 0x2000>;
54
55        speaker@0,1 {
56            compatible = "sdw10217020200";
57            reg = <0 1>;
58            powerdown-gpios = <&tlmm 1 0>;
59            vdd-supply = <&vreg_s10b_1p8>;
60            #thermal-sensor-cells = <0>;
61            #sound-dai-cells = <0>;
62        };
63
64        speaker@0,2 {
65            compatible = "sdw10217020200";
66            reg = <0 2>;
67            powerdown-gpios = <&tlmm 89 0>;
68            vdd-supply = <&vreg_s10b_1p8>;
69            #thermal-sensor-cells = <0>;
70            #sound-dai-cells = <0>;
71        };
72    };
73
74...
75