Qualcomm WSA8830/WSA8832/WSA8835 smart speaker amplifier
Schema identifier ($id): "http://devicetree.org/schemas/sound/qcom,wsa883x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"
WSA883X is the Qualcomm Aqstic smart speaker amplifier Their primary operating mode uses a SoundWire digital audio interface. This binding is for SoundWire interface.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sdw10217020200"
reg — required here #
Maximum number of items (maxItems): 1
powerdown-gpios — not listed as required here #
GPIO spec for Powerdown/Shutdown line to use (pin SD_N)
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Powerdown/Shutdown line to use (pin SD_N)
Maximum number of items (maxItems): 1
vdd-supply — required here #
VDD Supply for the Codec
qcom,port-mapping — not listed as required here #
Specifies static port mapping between slave and master ports. In the order of slave port index.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 4
#thermal-sensor-cells — required here #
Exact value (const): 0
#sound-dai-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "vdd-supply", "#thermal-sensor-cells", "#sound-dai-cells"
Exactly one of these rules must match (oneOf) #
Rule 1 #
Rule 2 #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
soundwire@3250000 {
#address-cells = <2>;
#size-cells = <0>;
reg = <0x3250000 0x2000>;
speaker@0,1 {
compatible = "sdw10217020200";
reg = <0 1>;
powerdown-gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
vdd-supply = <&vreg_s10b_1p8>;
#thermal-sensor-cells = <0>;
#sound-dai-cells = <0>;
sound-name-prefix = "SpkrLeft";
};
speaker@0,2 {
compatible = "sdw10217020200";
reg = <0 2>;
powerdown-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>;
vdd-supply = <&vreg_s10b_1p8>;
#thermal-sensor-cells = <0>;
#sound-dai-cells = <0>;
sound-name-prefix = "SpkrRight";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)