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