Qualcomm Audio FrontEnd (Q6AFE)
Schema identifier ($id): "http://devicetree.org/schemas/sound/qcom,q6afe.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,q6afe"
clock-controller — not listed as required here #
Shared schema rule ($ref): /schemas/sound/qcom,q6dsp-lpass-clocks.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Qualcomm DSP LPASS clock controller
dais — required here #
Value type (type): "object"
Shared schema rule ($ref): /schemas/sound/qcom,q6dsp-lpass-ports.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Qualcomm DSP audio ports
usbd — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): /schemas/sound/qcom,q6usb.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Qualcomm DSP USB 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>
#include <dt-bindings/sound/qcom,q6afe.h>
apr {
#address-cells = <1>;
#size-cells = <0>;
service@4 {
compatible = "qcom,q6afe";
reg = <APR_SVC_AFE>;
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
clock-controller {
compatible = "qcom,q6afe-clocks";
#clock-cells = <2>;
};
dais {
compatible = "qcom,q6afe-dais";
#address-cells = <1>;
#size-cells = <0>;
#sound-dai-cells = <1>;
dai@22 {
reg = <QUATERNARY_MI2S_RX>;
qcom,sd-lines = <0 1 2 3>;
};
};
usbd {
compatible = "qcom,q6usb";
#sound-dai-cells = <1>;
iommus = <&apps_smmu 0x180f 0x0>;
qcom,usb-audio-intr-idx = /bits/ 16 <2>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause