xref: /freebsd/sys/contrib/device-tree/Bindings/sound/qcom,q6asm.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,q6asm.yaml#
5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8bab661aSEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Qualcomm Audio Stream Manager (Q6ASM)
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,q6asm
20*8bab661aSEmmanuel Vadot
21*8bab661aSEmmanuel Vadot  dais:
22*8bab661aSEmmanuel Vadot    type: object
23*8bab661aSEmmanuel Vadot    $ref: /schemas/sound/qcom,q6asm-dais.yaml#
24*8bab661aSEmmanuel Vadot    unevaluatedProperties: false
25*8bab661aSEmmanuel Vadot    description: Qualcomm DSP audio ports
26*8bab661aSEmmanuel Vadot
27*8bab661aSEmmanuel Vadotrequired:
28*8bab661aSEmmanuel Vadot  - compatible
29*8bab661aSEmmanuel Vadot  - dais
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@7 {
42*8bab661aSEmmanuel Vadot            compatible = "qcom,q6asm";
43*8bab661aSEmmanuel Vadot            reg = <APR_SVC_ASM>;
44*8bab661aSEmmanuel Vadot            qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
45*8bab661aSEmmanuel Vadot
46*8bab661aSEmmanuel Vadot            dais {
47*8bab661aSEmmanuel Vadot                compatible = "qcom,q6asm-dais";
48*8bab661aSEmmanuel Vadot                iommus = <&apps_smmu 0x1821 0x0>;
49*8bab661aSEmmanuel Vadot                #address-cells = <1>;
50*8bab661aSEmmanuel Vadot                #size-cells = <0>;
51*8bab661aSEmmanuel Vadot                #sound-dai-cells = <1>;
52*8bab661aSEmmanuel Vadot
53*8bab661aSEmmanuel Vadot                dai@0 {
54*8bab661aSEmmanuel Vadot                    reg = <0>;
55*8bab661aSEmmanuel Vadot                };
56*8bab661aSEmmanuel Vadot
57*8bab661aSEmmanuel Vadot                dai@1 {
58*8bab661aSEmmanuel Vadot                    reg = <1>;
59*8bab661aSEmmanuel Vadot                };
60*8bab661aSEmmanuel Vadot
61*8bab661aSEmmanuel Vadot                dai@2 {
62*8bab661aSEmmanuel Vadot                    reg = <2>;
63*8bab661aSEmmanuel Vadot                    is-compress-dai;
64*8bab661aSEmmanuel Vadot                    direction = <1>;
65*8bab661aSEmmanuel Vadot                };
66*8bab661aSEmmanuel Vadot            };
67*8bab661aSEmmanuel Vadot        };
68*8bab661aSEmmanuel Vadot    };
69