Qualcomm Audio Stream Manager (Q6ASM)

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

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/soc/qcom/qcom,apr-services.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,q6asm"

dais — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/sound/qcom,q6asm-dais.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Qualcomm DSP audio ports

Required in this object (required): "compatible", "dais"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/soc/qcom,apr.h>

apr {
    #address-cells = <1>;
    #size-cells = <0>;

    service@7 {
        compatible = "qcom,q6asm";
        reg = <APR_SVC_ASM>;
        qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";

        dais {
            compatible = "qcom,q6asm-dais";
            iommus = <&apps_smmu 0x1821 0x0>;
            #address-cells = <1>;
            #size-cells = <0>;
            #sound-dai-cells = <1>;

            dai@0 {
                reg = <0>;
            };

            dai@1 {
                reg = <1>;
            };

            dai@2 {
                reg = <2>;
                is-compress-dai;
                direction = <1>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page