| 1 |
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/sound/qcom,q6adm.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm Audio Device Manager (Q6ADM) |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Krzysztof Kozlowski <[email protected]> |
| 11 |
- Srinivas Kandagatla <[email protected]> |
| 12 |
|
| 13 |
allOf: |
| 14 |
- $ref: /schemas/soc/qcom/qcom,apr-services.yaml# |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
enum: |
| 19 |
- qcom,q6adm |
| 20 |
|
| 21 |
routing: |
| 22 |
type: object |
| 23 |
$ref: /schemas/sound/qcom,q6adm-routing.yaml# |
| 24 |
unevaluatedProperties: false |
| 25 |
description: Qualcomm DSP LPASS audio routing |
| 26 |
|
| 27 |
required: |
| 28 |
- compatible |
| 29 |
- routing |
| 30 |
|
| 31 |
unevaluatedProperties: false |
| 32 |
|
| 33 |
examples: |
| 34 |
- | |
| 35 |
#include <dt-bindings/soc/qcom,apr.h> |
| 36 |
|
| 37 |
apr { |
| 38 |
#address-cells = <1>; |
| 39 |
#size-cells = <0>; |
| 40 |
|
| 41 |
service@8 { |
| 42 |
compatible = "qcom,q6adm"; |
| 43 |
reg = <APR_SVC_ADM>; |
| 44 |
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; |
| 45 |
|
| 46 |
routing { |
| 47 |
compatible = "qcom,q6adm-routing"; |
| 48 |
#sound-dai-cells = <0>; |
| 49 |
}; |
| 50 |
}; |
| 51 |
}; |