1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2b97ee269SEmmanuel Vadot%YAML 1.2 3b97ee269SEmmanuel Vadot--- 4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/qcom,wsa883x.yaml# 5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6b97ee269SEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Qualcomm WSA8830/WSA8832/WSA8835 8b97ee269SEmmanuel Vadot smart speaker amplifier 9b97ee269SEmmanuel Vadot 10b97ee269SEmmanuel Vadotmaintainers: 11b97ee269SEmmanuel Vadot - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 12b97ee269SEmmanuel Vadot 13b97ee269SEmmanuel Vadotdescription: | 14b97ee269SEmmanuel Vadot WSA883X is the Qualcomm Aqstic smart speaker amplifier 15b97ee269SEmmanuel Vadot Their primary operating mode uses a SoundWire digital audio 16b97ee269SEmmanuel Vadot interface. This binding is for SoundWire interface. 17b97ee269SEmmanuel Vadot 188bab661aSEmmanuel VadotallOf: 198bab661aSEmmanuel Vadot - $ref: dai-common.yaml# 208bab661aSEmmanuel Vadot 21b97ee269SEmmanuel Vadotproperties: 22b97ee269SEmmanuel Vadot compatible: 23b97ee269SEmmanuel Vadot const: sdw10217020200 24b97ee269SEmmanuel Vadot 25b97ee269SEmmanuel Vadot reg: 26b97ee269SEmmanuel Vadot maxItems: 1 27b97ee269SEmmanuel Vadot 28b97ee269SEmmanuel Vadot powerdown-gpios: 298bab661aSEmmanuel Vadot description: GPIO spec for Powerdown/Shutdown line to use (pin SD_N) 30b97ee269SEmmanuel Vadot maxItems: 1 31b97ee269SEmmanuel Vadot 32b97ee269SEmmanuel Vadot vdd-supply: 33b97ee269SEmmanuel Vadot description: VDD Supply for the Codec 34b97ee269SEmmanuel Vadot 35b97ee269SEmmanuel Vadot '#thermal-sensor-cells': 36b97ee269SEmmanuel Vadot const: 0 37b97ee269SEmmanuel Vadot 38b97ee269SEmmanuel Vadot '#sound-dai-cells': 39b97ee269SEmmanuel Vadot const: 0 40b97ee269SEmmanuel Vadot 41b97ee269SEmmanuel Vadotrequired: 42b97ee269SEmmanuel Vadot - compatible 43b97ee269SEmmanuel Vadot - reg 44b97ee269SEmmanuel Vadot - vdd-supply 45b97ee269SEmmanuel Vadot - powerdown-gpios 46b97ee269SEmmanuel Vadot - "#thermal-sensor-cells" 47b97ee269SEmmanuel Vadot - "#sound-dai-cells" 48b97ee269SEmmanuel Vadot 498bab661aSEmmanuel VadotunevaluatedProperties: false 50b97ee269SEmmanuel Vadot 51b97ee269SEmmanuel Vadotexamples: 52b97ee269SEmmanuel Vadot - | 538bab661aSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 548bab661aSEmmanuel Vadot 55*8d13bc63SEmmanuel Vadot soundwire@3250000 { 56b97ee269SEmmanuel Vadot #address-cells = <2>; 57b97ee269SEmmanuel Vadot #size-cells = <0>; 58b97ee269SEmmanuel Vadot reg = <0x3250000 0x2000>; 59b97ee269SEmmanuel Vadot 60b97ee269SEmmanuel Vadot speaker@0,1 { 61b97ee269SEmmanuel Vadot compatible = "sdw10217020200"; 62b97ee269SEmmanuel Vadot reg = <0 1>; 638bab661aSEmmanuel Vadot powerdown-gpios = <&tlmm 1 GPIO_ACTIVE_LOW>; 64b97ee269SEmmanuel Vadot vdd-supply = <&vreg_s10b_1p8>; 65b97ee269SEmmanuel Vadot #thermal-sensor-cells = <0>; 66b97ee269SEmmanuel Vadot #sound-dai-cells = <0>; 678bab661aSEmmanuel Vadot sound-name-prefix = "SpkrLeft"; 68b97ee269SEmmanuel Vadot }; 69b97ee269SEmmanuel Vadot 70b97ee269SEmmanuel Vadot speaker@0,2 { 71b97ee269SEmmanuel Vadot compatible = "sdw10217020200"; 72b97ee269SEmmanuel Vadot reg = <0 2>; 738bab661aSEmmanuel Vadot powerdown-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>; 74b97ee269SEmmanuel Vadot vdd-supply = <&vreg_s10b_1p8>; 75b97ee269SEmmanuel Vadot #thermal-sensor-cells = <0>; 76b97ee269SEmmanuel Vadot #sound-dai-cells = <0>; 778bab661aSEmmanuel Vadot sound-name-prefix = "SpkrRight"; 78b97ee269SEmmanuel Vadot }; 79b97ee269SEmmanuel Vadot }; 80b97ee269SEmmanuel Vadot 81b97ee269SEmmanuel Vadot... 82