Qualcomm Audio Process Manager (Q6APM)
Schema identifier ($id): "http://devicetree.org/schemas/sound/qcom,q6apm.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):dai-common.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/soc/qcom/qcom,apr-services.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,q6apm"
bedais — required here #
Value type (type): "object"
Shared schema rule ($ref): /schemas/sound/qcom,q6apm-lpass-dais.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Qualcomm DSP audio ports
dais — required here #
Value type (type): "object"
Shared schema rule ($ref): /schemas/sound/qcom,q6apm-dai.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Qualcomm DSP audio ports
#sound-dai-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "bedais", "dais"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/soc/qcom,gpr.h>
gpr {
#address-cells = <1>;
#size-cells = <0>;
service@1 {
reg = <GPR_APM_MODULE_IID>;
compatible = "qcom,q6apm";
#sound-dai-cells = <0>;
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
dais {
compatible = "qcom,q6apm-dais";
iommus = <&apps_smmu 0x1801 0x0>;
};
bedais {
compatible = "qcom,q6apm-lpass-dais";
#sound-dai-cells = <1>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause