Qualcomm Audio Stream Manager (Q6ASM)
Schema identifier ($id): "http://devicetree.org/schemas/sound/qcom,q6asm-dais.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"
Q6ASM is one of the APR audio services on Q6DSP. Each of its subnodes represent a dai with board specific configuration.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,q6asm-dais"
iommus — not listed as required here #
Maximum number of items (maxItems): 1
#sound-dai-cells — required here #
Exact value (const): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^dai@[0-9]+$ — name matches this regular expression #
Value type (type): "object"
Q6ASM Digital Audio Interface
Properties and child nodes (properties) #
reg — required here
Maximum number of items (maxItems): 1
direction — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
The direction of the dai stream:: - Q6ASM_DAI_TX_RX (0) for both tx and rx - Q6ASM_DAI_TX (1) for only tx (Capture/Encode) - Q6ASM_DAI_RX (2) for only rx (Playback/Decode)
is-compress-dai — not listed as required here
Value type (type): "boolean"
Compress offload dai.
Property dependencies (dependencies) #
is-compress-dai — applies when this property is present
Also requires: "direction"
Required in this object (required): "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "#sound-dai-cells", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
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