1*83c8fa5eSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2*83c8fa5eSKrzysztof Kozlowski%YAML 1.2
3*83c8fa5eSKrzysztof Kozlowski---
4*83c8fa5eSKrzysztof Kozlowski$id: http://devicetree.org/schemas/sound/qcom,q6asm.yaml#
5*83c8fa5eSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6*83c8fa5eSKrzysztof Kozlowski
7*83c8fa5eSKrzysztof Kozlowskititle: Qualcomm Audio Stream Manager (Q6ASM)
8*83c8fa5eSKrzysztof Kozlowski
9*83c8fa5eSKrzysztof Kozlowskimaintainers:
10*83c8fa5eSKrzysztof Kozlowski  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11*83c8fa5eSKrzysztof Kozlowski  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12*83c8fa5eSKrzysztof Kozlowski
13*83c8fa5eSKrzysztof KozlowskiallOf:
14*83c8fa5eSKrzysztof Kozlowski  - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
15*83c8fa5eSKrzysztof Kozlowski
16*83c8fa5eSKrzysztof Kozlowskiproperties:
17*83c8fa5eSKrzysztof Kozlowski  compatible:
18*83c8fa5eSKrzysztof Kozlowski    enum:
19*83c8fa5eSKrzysztof Kozlowski      - qcom,q6asm
20*83c8fa5eSKrzysztof Kozlowski
21*83c8fa5eSKrzysztof Kozlowski  dais:
22*83c8fa5eSKrzysztof Kozlowski    type: object
23*83c8fa5eSKrzysztof Kozlowski    $ref: /schemas/sound/qcom,q6asm-dais.yaml#
24*83c8fa5eSKrzysztof Kozlowski    unevaluatedProperties: false
25*83c8fa5eSKrzysztof Kozlowski    description: Qualcomm DSP audio ports
26*83c8fa5eSKrzysztof Kozlowski
27*83c8fa5eSKrzysztof Kozlowskirequired:
28*83c8fa5eSKrzysztof Kozlowski  - compatible
29*83c8fa5eSKrzysztof Kozlowski  - dais
30*83c8fa5eSKrzysztof Kozlowski
31*83c8fa5eSKrzysztof KozlowskiunevaluatedProperties: false
32*83c8fa5eSKrzysztof Kozlowski
33*83c8fa5eSKrzysztof Kozlowskiexamples:
34*83c8fa5eSKrzysztof Kozlowski  - |
35*83c8fa5eSKrzysztof Kozlowski    #include <dt-bindings/soc/qcom,apr.h>
36*83c8fa5eSKrzysztof Kozlowski
37*83c8fa5eSKrzysztof Kozlowski    apr {
38*83c8fa5eSKrzysztof Kozlowski        #address-cells = <1>;
39*83c8fa5eSKrzysztof Kozlowski        #size-cells = <0>;
40*83c8fa5eSKrzysztof Kozlowski
41*83c8fa5eSKrzysztof Kozlowski        service@7 {
42*83c8fa5eSKrzysztof Kozlowski            compatible = "qcom,q6asm";
43*83c8fa5eSKrzysztof Kozlowski            reg = <APR_SVC_ASM>;
44*83c8fa5eSKrzysztof Kozlowski            qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
45*83c8fa5eSKrzysztof Kozlowski
46*83c8fa5eSKrzysztof Kozlowski            dais {
47*83c8fa5eSKrzysztof Kozlowski                compatible = "qcom,q6asm-dais";
48*83c8fa5eSKrzysztof Kozlowski                iommus = <&apps_smmu 0x1821 0x0>;
49*83c8fa5eSKrzysztof Kozlowski                #address-cells = <1>;
50*83c8fa5eSKrzysztof Kozlowski                #size-cells = <0>;
51*83c8fa5eSKrzysztof Kozlowski                #sound-dai-cells = <1>;
52*83c8fa5eSKrzysztof Kozlowski
53*83c8fa5eSKrzysztof Kozlowski                dai@0 {
54*83c8fa5eSKrzysztof Kozlowski                    reg = <0>;
55*83c8fa5eSKrzysztof Kozlowski                };
56*83c8fa5eSKrzysztof Kozlowski
57*83c8fa5eSKrzysztof Kozlowski                dai@1 {
58*83c8fa5eSKrzysztof Kozlowski                    reg = <1>;
59*83c8fa5eSKrzysztof Kozlowski                };
60*83c8fa5eSKrzysztof Kozlowski
61*83c8fa5eSKrzysztof Kozlowski                dai@2 {
62*83c8fa5eSKrzysztof Kozlowski                    reg = <2>;
63*83c8fa5eSKrzysztof Kozlowski                    is-compress-dai;
64*83c8fa5eSKrzysztof Kozlowski                    direction = <1>;
65*83c8fa5eSKrzysztof Kozlowski                };
66*83c8fa5eSKrzysztof Kozlowski            };
67*83c8fa5eSKrzysztof Kozlowski        };
68*83c8fa5eSKrzysztof Kozlowski    };
69