1f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2f126890aSEmmanuel Vadot%YAML 1.2 3f126890aSEmmanuel Vadot--- 4f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/qcom,wsa8840.yaml# 5f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadottitle: Qualcomm WSA8840/WSA8845/WSA8845H smart speaker amplifier 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadotmaintainers: 10f126890aSEmmanuel Vadot - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11f126890aSEmmanuel Vadot - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 12f126890aSEmmanuel Vadot 13f126890aSEmmanuel Vadotdescription: 14f126890aSEmmanuel Vadot WSA884X is a family of Qualcomm Aqstic smart speaker amplifiers using 15f126890aSEmmanuel Vadot SoundWire digital audio interface. 16f126890aSEmmanuel Vadot 17f126890aSEmmanuel VadotallOf: 18f126890aSEmmanuel Vadot - $ref: dai-common.yaml# 19f126890aSEmmanuel Vadot 20f126890aSEmmanuel Vadotproperties: 21f126890aSEmmanuel Vadot compatible: 22f126890aSEmmanuel Vadot const: sdw20217020400 23f126890aSEmmanuel Vadot 24f126890aSEmmanuel Vadot reg: 25f126890aSEmmanuel Vadot maxItems: 1 26f126890aSEmmanuel Vadot 27f126890aSEmmanuel Vadot powerdown-gpios: 28f126890aSEmmanuel Vadot description: Powerdown/Shutdown line to use (pin SD_N) 29f126890aSEmmanuel Vadot maxItems: 1 30f126890aSEmmanuel Vadot 31f126890aSEmmanuel Vadot '#sound-dai-cells': 32f126890aSEmmanuel Vadot const: 0 33f126890aSEmmanuel Vadot 34f126890aSEmmanuel Vadot vdd-1p8-supply: true 35f126890aSEmmanuel Vadot vdd-io-supply: true 36f126890aSEmmanuel Vadot 37f126890aSEmmanuel Vadotrequired: 38f126890aSEmmanuel Vadot - compatible 39f126890aSEmmanuel Vadot - reg 40f126890aSEmmanuel Vadot - powerdown-gpios 41f126890aSEmmanuel Vadot - '#sound-dai-cells' 42f126890aSEmmanuel Vadot - vdd-1p8-supply 43f126890aSEmmanuel Vadot - vdd-io-supply 44f126890aSEmmanuel Vadot 45f126890aSEmmanuel VadotunevaluatedProperties: false 46f126890aSEmmanuel Vadot 47f126890aSEmmanuel Vadotexamples: 48f126890aSEmmanuel Vadot - | 49f126890aSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 50f126890aSEmmanuel Vadot 51*8d13bc63SEmmanuel Vadot soundwire { 52f126890aSEmmanuel Vadot #address-cells = <2>; 53f126890aSEmmanuel Vadot #size-cells = <0>; 54f126890aSEmmanuel Vadot 55f126890aSEmmanuel Vadot speaker@0,1 { 56f126890aSEmmanuel Vadot compatible = "sdw20217020400"; 57f126890aSEmmanuel Vadot reg = <0 1>; 58f126890aSEmmanuel Vadot pinctrl-names = "default"; 59f126890aSEmmanuel Vadot pinctrl-0 = <&spkr_2_sd_n_active>; 60f126890aSEmmanuel Vadot powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; 61f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 62f126890aSEmmanuel Vadot sound-name-prefix = "SpkrRight"; 63f126890aSEmmanuel Vadot vdd-1p8-supply = <&vreg_l15b_1p8>; 64f126890aSEmmanuel Vadot vdd-io-supply = <&vreg_l3g_1p2>; 65f126890aSEmmanuel Vadot }; 66f126890aSEmmanuel Vadot }; 67