blob: ac03672ebf6de1df862ce282f955ac91bdd9167d [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
18allOf:
19 - $ref: dai-common.yaml#
20
21properties:
22 compatible:
23 const: sdw10217201000
24
25 reg:
26 maxItems: 1
27
28 powerdown-gpios:
29 description: GPIO spec for Powerdown/Shutdown line to use
30 maxItems: 1
31
32 '#thermal-sensor-cells':
33 const: 0
34
35 '#sound-dai-cells':
36 const: 0
37
38required:
39 - compatible
40 - reg
41 - powerdown-gpios
42 - "#thermal-sensor-cells"
43 - "#sound-dai-cells"
44
45unevaluatedProperties: false
46
47examples:
48 - |
49 soundwire@c2d0000 {
50 #address-cells = <2>;
51 #size-cells = <0>;
52 reg = <0x0c2d0000 0x2000>;
53
54 speaker@0,1 {
55 compatible = "sdw10217201000";
56 reg = <0 1>;
57 powerdown-gpios = <&wcdpinctrl 2 0>;
58 #thermal-sensor-cells = <0>;
59 #sound-dai-cells = <0>;
60 };
61
62 speaker@0,2 {
63 compatible = "sdw10217201000";
64 reg = <0 2>;
65 powerdown-gpios = <&wcdpinctrl 2 0>;
66 #thermal-sensor-cells = <0>;
67 #sound-dai-cells = <0>;
68 };
69 };
70
71...