xref: /linux/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml (revision 6180b3252010f7cccdef896faf305456df4c45cf)
1*6180b325SKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2*6180b325SKrzysztof Kozlowski%YAML 1.2
3*6180b325SKrzysztof Kozlowski---
4*6180b325SKrzysztof Kozlowski$id: http://devicetree.org/schemas/sound/qcom,q6apm.yaml#
5*6180b325SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6*6180b325SKrzysztof Kozlowski
7*6180b325SKrzysztof Kozlowskititle: Qualcomm Audio Process Manager (Q6APM)
8*6180b325SKrzysztof Kozlowski
9*6180b325SKrzysztof Kozlowskimaintainers:
10*6180b325SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11*6180b325SKrzysztof Kozlowski  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12*6180b325SKrzysztof Kozlowski
13*6180b325SKrzysztof KozlowskiallOf:
14*6180b325SKrzysztof Kozlowski  - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
15*6180b325SKrzysztof Kozlowski
16*6180b325SKrzysztof Kozlowskiproperties:
17*6180b325SKrzysztof Kozlowski  compatible:
18*6180b325SKrzysztof Kozlowski    enum:
19*6180b325SKrzysztof Kozlowski      - qcom,q6apm
20*6180b325SKrzysztof Kozlowski
21*6180b325SKrzysztof Kozlowski  dais:
22*6180b325SKrzysztof Kozlowski    type: object
23*6180b325SKrzysztof Kozlowski    $ref: /schemas/sound/qcom,q6apm-dai.yaml#
24*6180b325SKrzysztof Kozlowski    unevaluatedProperties: false
25*6180b325SKrzysztof Kozlowski    description: Qualcomm DSP audio ports
26*6180b325SKrzysztof Kozlowski
27*6180b325SKrzysztof Kozlowskirequired:
28*6180b325SKrzysztof Kozlowski  - compatible
29*6180b325SKrzysztof Kozlowski  - dais
30*6180b325SKrzysztof Kozlowski
31*6180b325SKrzysztof KozlowskiunevaluatedProperties: false
32*6180b325SKrzysztof Kozlowski
33*6180b325SKrzysztof Kozlowskiexamples:
34*6180b325SKrzysztof Kozlowski  - |
35*6180b325SKrzysztof Kozlowski    #include <dt-bindings/soc/qcom,gpr.h>
36*6180b325SKrzysztof Kozlowski
37*6180b325SKrzysztof Kozlowski    gpr {
38*6180b325SKrzysztof Kozlowski        #address-cells = <1>;
39*6180b325SKrzysztof Kozlowski        #size-cells = <0>;
40*6180b325SKrzysztof Kozlowski
41*6180b325SKrzysztof Kozlowski        service@1 {
42*6180b325SKrzysztof Kozlowski            reg = <GPR_APM_MODULE_IID>;
43*6180b325SKrzysztof Kozlowski            compatible = "qcom,q6apm";
44*6180b325SKrzysztof Kozlowski            qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
45*6180b325SKrzysztof Kozlowski
46*6180b325SKrzysztof Kozlowski            dais {
47*6180b325SKrzysztof Kozlowski                compatible = "qcom,q6apm-dais";
48*6180b325SKrzysztof Kozlowski                iommus = <&apps_smmu 0x1801 0x0>;
49*6180b325SKrzysztof Kozlowski            };
50*6180b325SKrzysztof Kozlowski        };
51*6180b325SKrzysztof Kozlowski    };
52