xref: /freebsd/sys/contrib/device-tree/Bindings/sound/qcom,q6adm.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2*8bab661aSEmmanuel Vadot%YAML 1.2
3*8bab661aSEmmanuel Vadot---
4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/qcom,q6adm.yaml#
5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8bab661aSEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Qualcomm Audio Device Manager (Q6ADM)
8*8bab661aSEmmanuel Vadot
9*8bab661aSEmmanuel Vadotmaintainers:
10*8bab661aSEmmanuel Vadot  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11*8bab661aSEmmanuel Vadot  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12*8bab661aSEmmanuel Vadot
13*8bab661aSEmmanuel VadotallOf:
14*8bab661aSEmmanuel Vadot  - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
15*8bab661aSEmmanuel Vadot
16*8bab661aSEmmanuel Vadotproperties:
17*8bab661aSEmmanuel Vadot  compatible:
18*8bab661aSEmmanuel Vadot    enum:
19*8bab661aSEmmanuel Vadot      - qcom,q6adm
20*8bab661aSEmmanuel Vadot
21*8bab661aSEmmanuel Vadot  routing:
22*8bab661aSEmmanuel Vadot    type: object
23*8bab661aSEmmanuel Vadot    $ref: /schemas/sound/qcom,q6adm-routing.yaml#
24*8bab661aSEmmanuel Vadot    unevaluatedProperties: false
25*8bab661aSEmmanuel Vadot    description: Qualcomm DSP LPASS audio routing
26*8bab661aSEmmanuel Vadot
27*8bab661aSEmmanuel Vadotrequired:
28*8bab661aSEmmanuel Vadot  - compatible
29*8bab661aSEmmanuel Vadot  - routing
30*8bab661aSEmmanuel Vadot
31*8bab661aSEmmanuel VadotunevaluatedProperties: false
32*8bab661aSEmmanuel Vadot
33*8bab661aSEmmanuel Vadotexamples:
34*8bab661aSEmmanuel Vadot  - |
35*8bab661aSEmmanuel Vadot    #include <dt-bindings/soc/qcom,apr.h>
36*8bab661aSEmmanuel Vadot
37*8bab661aSEmmanuel Vadot    apr {
38*8bab661aSEmmanuel Vadot        #address-cells = <1>;
39*8bab661aSEmmanuel Vadot        #size-cells = <0>;
40*8bab661aSEmmanuel Vadot
41*8bab661aSEmmanuel Vadot        service@8 {
42*8bab661aSEmmanuel Vadot            compatible = "qcom,q6adm";
43*8bab661aSEmmanuel Vadot            reg = <APR_SVC_ADM>;
44*8bab661aSEmmanuel Vadot            qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
45*8bab661aSEmmanuel Vadot
46*8bab661aSEmmanuel Vadot            routing {
47*8bab661aSEmmanuel Vadot                compatible = "qcom,q6adm-routing";
48*8bab661aSEmmanuel Vadot                #sound-dai-cells = <0>;
49*8bab661aSEmmanuel Vadot            };
50*8bab661aSEmmanuel Vadot        };
51*8bab661aSEmmanuel Vadot    };
52