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