| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/sound/qcom,q6usb.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm ASoC DPCM USB backend DAI |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Wesley Cheng <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
The USB port is a supported AFE path on the Q6 DSP. This ASoC DPCM |
| 14 |
backend DAI will communicate the required settings to initialize the |
| 15 |
XHCI host controller properly for enabling the offloaded audio stream. |
| 16 |
Parameters defined under this node will carry settings, which will be |
| 17 |
passed along during the QMI stream enable request and configuration of |
| 18 |
the XHCI host controller. |
| 19 |
|
| 20 |
allOf: |
| 21 |
- $ref: dai-common.yaml# |
| 22 |
|
| 23 |
properties: |
| 24 |
compatible: |
| 25 |
enum: |
| 26 |
- qcom,q6usb |
| 27 |
|
| 28 |
iommus: |
| 29 |
maxItems: 1 |
| 30 |
|
| 31 |
"#sound-dai-cells": |
| 32 |
const: 1 |
| 33 |
|
| 34 |
qcom,usb-audio-intr-idx: |
| 35 |
description: |
| 36 |
Desired XHCI interrupter number to use. Depending on the audio DSP |
| 37 |
on the platform, it will operate on a specific XHCI interrupter. |
| 38 |
$ref: /schemas/types.yaml#/definitions/uint16 |
| 39 |
maximum: 8 |
| 40 |
|
| 41 |
required: |
| 42 |
- compatible |
| 43 |
- "#sound-dai-cells" |
| 44 |
- qcom,usb-audio-intr-idx |
| 45 |
|
| 46 |
additionalProperties: false |
| 47 |
|
| 48 |
examples: |
| 49 |
- | |
| 50 |
dais { |
| 51 |
compatible = "qcom,q6usb"; |
| 52 |
#sound-dai-cells = <1>; |
| 53 |
iommus = <&apps_smmu 0x180f 0x0>; |
| 54 |
qcom,usb-audio-intr-idx = /bits/ 16 <2>; |
| 55 |
}; |