mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-20 07:50:09 +00:00

Document the subnode for Q6USB, used for USB audio offloading. Cc: Wesley Cheng <quic_wcheng@quicinc.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Link: https://patch.msgid.link/20250723-fp4-usb-audio-offload-v3-1-6be84ed4fc39@fairphone.com Signed-off-by: Mark Brown <broonie@kernel.org>
82 lines
2.0 KiB
YAML
82 lines
2.0 KiB
YAML
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/qcom,q6afe.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm Audio FrontEnd (Q6AFE)
|
|
|
|
maintainers:
|
|
- Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
|
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
|
|
|
allOf:
|
|
- $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- qcom,q6afe
|
|
|
|
clock-controller:
|
|
$ref: /schemas/sound/qcom,q6dsp-lpass-clocks.yaml#
|
|
unevaluatedProperties: false
|
|
description: Qualcomm DSP LPASS clock controller
|
|
|
|
dais:
|
|
type: object
|
|
$ref: /schemas/sound/qcom,q6dsp-lpass-ports.yaml#
|
|
unevaluatedProperties: false
|
|
description: Qualcomm DSP audio ports
|
|
|
|
usbd:
|
|
type: object
|
|
$ref: /schemas/sound/qcom,q6usb.yaml#
|
|
unevaluatedProperties: false
|
|
description: Qualcomm DSP USB audio ports
|
|
|
|
required:
|
|
- compatible
|
|
- dais
|
|
|
|
unevaluatedProperties: false
|
|
|
|
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>;
|
|
};
|
|
};
|
|
};
|