xref: /linux/Documentation/devicetree/bindings/sound/qcom,q6adm-routing.yaml (revision 301628d805019999f1ae9764aadfcface9c4e309)
1*301628d8SKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2*301628d8SKrzysztof Kozlowski%YAML 1.2
3*301628d8SKrzysztof Kozlowski---
4*301628d8SKrzysztof Kozlowski$id: http://devicetree.org/schemas/sound/qcom,q6adm-routing.yaml#
5*301628d8SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6*301628d8SKrzysztof Kozlowski
7*301628d8SKrzysztof Kozlowskititle: Qualcomm Audio Device Manager (Q6ADM) routing
8*301628d8SKrzysztof Kozlowski
9*301628d8SKrzysztof Kozlowskimaintainers:
10*301628d8SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11*301628d8SKrzysztof Kozlowski  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12*301628d8SKrzysztof Kozlowski
13*301628d8SKrzysztof Kozlowskidescription:
14*301628d8SKrzysztof Kozlowski  Qualcomm Audio Device Manager (Q6ADM) routing node represents routing
15*301628d8SKrzysztof Kozlowski  specific configuration.
16*301628d8SKrzysztof Kozlowski
17*301628d8SKrzysztof Kozlowskiproperties:
18*301628d8SKrzysztof Kozlowski  compatible:
19*301628d8SKrzysztof Kozlowski    enum:
20*301628d8SKrzysztof Kozlowski      - qcom,q6adm-routing
21*301628d8SKrzysztof Kozlowski
22*301628d8SKrzysztof Kozlowski  "#sound-dai-cells":
23*301628d8SKrzysztof Kozlowski    const: 0
24*301628d8SKrzysztof Kozlowski
25*301628d8SKrzysztof Kozlowskirequired:
26*301628d8SKrzysztof Kozlowski  - compatible
27*301628d8SKrzysztof Kozlowski  - "#sound-dai-cells"
28*301628d8SKrzysztof Kozlowski
29*301628d8SKrzysztof KozlowskiadditionalProperties: false
30*301628d8SKrzysztof Kozlowski
31*301628d8SKrzysztof Kozlowskiexamples:
32*301628d8SKrzysztof Kozlowski  - |
33*301628d8SKrzysztof Kozlowski    #include <dt-bindings/soc/qcom,apr.h>
34*301628d8SKrzysztof Kozlowski    #include <dt-bindings/sound/qcom,q6asm.h>
35*301628d8SKrzysztof Kozlowski
36*301628d8SKrzysztof Kozlowski    apr {
37*301628d8SKrzysztof Kozlowski        compatible = "qcom,apr-v2";
38*301628d8SKrzysztof Kozlowski        qcom,domain = <APR_DOMAIN_ADSP>;
39*301628d8SKrzysztof Kozlowski        #address-cells = <1>;
40*301628d8SKrzysztof Kozlowski        #size-cells = <0>;
41*301628d8SKrzysztof Kozlowski
42*301628d8SKrzysztof Kozlowski        service@8 {
43*301628d8SKrzysztof Kozlowski            compatible = "qcom,q6adm";
44*301628d8SKrzysztof Kozlowski            reg = <APR_SVC_ADM>;
45*301628d8SKrzysztof Kozlowski            qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
46*301628d8SKrzysztof Kozlowski
47*301628d8SKrzysztof Kozlowski            routing {
48*301628d8SKrzysztof Kozlowski                compatible = "qcom,q6adm-routing";
49*301628d8SKrzysztof Kozlowski                #sound-dai-cells = <0>;
50*301628d8SKrzysztof Kozlowski            };
51*301628d8SKrzysztof Kozlowski        };
52*301628d8SKrzysztof Kozlowski    };
53