Qualcomm WSA8810/WSA8815 Class-D Smart Speaker Amplifier

Schema identifier ($id): "http://devicetree.org/schemas/sound/qcom,wsa881x.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"

WSA8810 is a class-D smart speaker amplifier and WSA8815 is a high-output power class-D 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): "sdw10217201000"

reg — required here #

Maximum number of items (maxItems): 1

powerdown-gpios — required here #

GPIO spec for Powerdown/Shutdown line to use

Maximum number of items (maxItems): 1

#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", "powerdown-gpios", "#thermal-sensor-cells", "#sound-dai-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

soundwire@c2d0000 {
    #address-cells = <2>;
    #size-cells = <0>;
    reg = <0x0c2d0000 0x2000>;

    speaker@0,1 {
        compatible = "sdw10217201000";
        reg = <0 1>;
        powerdown-gpios = <&wcdpinctrl 2 0>;
        #thermal-sensor-cells = <0>;
        #sound-dai-cells = <0>;
    };

    speaker@0,2 {
        compatible = "sdw10217201000";
        reg = <0 2>;
        powerdown-gpios = <&wcdpinctrl 2 0>;
        #thermal-sensor-cells = <0>;
        #sound-dai-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page