5d972784321d72ceecb01f3b55786e751e3f2fb2
[platform/kernel/linux-starfive.git] / Documentation / devicetree / bindings / sound / qcom,q6apm-dai.yaml
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
7 title: Qualcomm Audio Process Manager Digital Audio Interfaces binding
8
9 maintainers:
10   - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11
12 description: |
13   This binding describes the Qualcomm APM DAIs in DSP
14
15 properties:
16   compatible:
17     const: qcom,q6apm-dais
18
19   reg:
20     maxItems: 1
21
22   iommus:
23     maxItems: 1
24
25 required:
26   - compatible
27   - iommus
28   - reg
29
30 additionalProperties: false
31
32 examples:
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     };