Skip to content

Commit 16e2f8a

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: dt-bindings: Add WSA883x bindings
This patch adds bindings for WSA883x Smart Speaker Amplifier. This Amplifier also has a simple thermal sensor for temperature measurments with speaker protection. Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 5f78e1f commit 16e2f8a

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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+
7+
title: Bindings for The Qualcomm WSA8830/WSA8832/WSA8835
8+
smart speaker amplifier
9+
10+
maintainers:
11+
- Srinivas Kandagatla <[email protected]>
12+
13+
description: |
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+
18+
properties:
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+
38+
required:
39+
- compatible
40+
- reg
41+
- vdd-supply
42+
- powerdown-gpios
43+
- "#thermal-sensor-cells"
44+
- "#sound-dai-cells"
45+
46+
additionalProperties: false
47+
48+
examples:
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+
...

0 commit comments

Comments
 (0)