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-routing.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Audio Device Manager (Q6ADM) routing
8
9maintainers:
10  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12
13description:
14  Qualcomm Audio Device Manager (Q6ADM) routing node represents routing
15  specific configuration.
16
17properties:
18  compatible:
19    enum:
20      - qcom,q6adm-routing
21
22  "#sound-dai-cells":
23    const: 0
24
25required:
26  - compatible
27  - "#sound-dai-cells"
28
29additionalProperties: false
30
31examples:
32  - |
33    #include <dt-bindings/soc/qcom,apr.h>
34    #include <dt-bindings/sound/qcom,q6asm.h>
35
36    apr {
37        compatible = "qcom,apr-v2";
38        qcom,domain = <APR_DOMAIN_ADSP>;
39        #address-cells = <1>;
40        #size-cells = <0>;
41
42        service@8 {
43            compatible = "qcom,q6adm";
44            reg = <APR_SVC_ADM>;
45            qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
46
47            routing {
48                compatible = "qcom,q6adm-routing";
49                #sound-dai-cells = <0>;
50            };
51        };
52    };
53