1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/sound/qcom,q6apm-dai.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Qualcomm Audio Process Manager Digital Audio Interfaces binding
8
9maintainers:
10  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11
12description: |
13  This binding describes the Qualcomm APM DAIs in DSP
14
15properties:
16  compatible:
17    const: qcom,q6apm-dais
18
19  reg:
20    maxItems: 1
21
22  iommus:
23    maxItems: 1
24
25required:
26  - compatible
27  - iommus
28  - reg
29
30additionalProperties: false
31
32examples:
33  - |
34    #include <dt-bindings/soc/qcom,gpr.h>
35    gpr {
36        compatible = "qcom,gpr";
37        #address-cells = <1>;
38        #size-cells = <0>;
39        qcom,domain = <GPR_DOMAIN_ID_ADSP>;
40        service@1 {
41          compatible = "qcom,q6apm";
42          reg = <1>;
43
44          #address-cells = <1>;
45          #size-cells = <0>;
46
47          apm-dai@1 {
48            compatible = "qcom,q6apm-dais";
49            iommus = <&apps_smmu 0x1801 0x0>;
50            reg = <1>;
51          };
52        };
53    };
54