xref: /linux/Documentation/devicetree/bindings/sound/qcom,q6adm.yaml (revision f9bff0e31881d03badf191d3b0005839391f5f2b)
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
7title: Qualcomm Audio Device Manager (Q6ADM)
8
9maintainers:
10  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12
13allOf:
14  - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
15
16properties:
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
27required:
28  - compatible
29  - routing
30
31unevaluatedProperties: false
32
33examples:
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    };
52