xref: /freebsd/sys/contrib/device-tree/Bindings/sound/sprd,pcm-platform.yaml (revision 5f62a964e9f8abc6a05d8338273fadd154f0a206)
1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*5f62a964SEmmanuel Vadot%YAML 1.2
3*5f62a964SEmmanuel Vadot---
4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/sprd,pcm-platform.yaml#
5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5f62a964SEmmanuel Vadot
7*5f62a964SEmmanuel Vadottitle: Spreadtrum DMA platform
8*5f62a964SEmmanuel Vadot
9*5f62a964SEmmanuel Vadotmaintainers:
10*5f62a964SEmmanuel Vadot  - Orson Zhai <orsonzhai@gmail.com>
11*5f62a964SEmmanuel Vadot  - Baolin Wang <baolin.wang7@gmail.com>
12*5f62a964SEmmanuel Vadot  - Chunyan Zhang <zhang.lyra@gmail.com>
13*5f62a964SEmmanuel Vadot
14*5f62a964SEmmanuel Vadotproperties:
15*5f62a964SEmmanuel Vadot  compatible:
16*5f62a964SEmmanuel Vadot    const: sprd,pcm-platform
17*5f62a964SEmmanuel Vadot
18*5f62a964SEmmanuel Vadot  dmas:
19*5f62a964SEmmanuel Vadot    maxItems: 10
20*5f62a964SEmmanuel Vadot
21*5f62a964SEmmanuel Vadot  dma-names:
22*5f62a964SEmmanuel Vadot    items:
23*5f62a964SEmmanuel Vadot      - const: normal_p_l
24*5f62a964SEmmanuel Vadot      - const: normal_p_r
25*5f62a964SEmmanuel Vadot      - const: normal_c_l
26*5f62a964SEmmanuel Vadot      - const: normal_c_r
27*5f62a964SEmmanuel Vadot      - const: voice_c
28*5f62a964SEmmanuel Vadot      - const: fast_p
29*5f62a964SEmmanuel Vadot      - const: loop_c
30*5f62a964SEmmanuel Vadot      - const: loop_p
31*5f62a964SEmmanuel Vadot      - const: voip_c
32*5f62a964SEmmanuel Vadot      - const: voip_p
33*5f62a964SEmmanuel Vadot
34*5f62a964SEmmanuel Vadotrequired:
35*5f62a964SEmmanuel Vadot  - compatible
36*5f62a964SEmmanuel Vadot  - dmas
37*5f62a964SEmmanuel Vadot  - dma-names
38*5f62a964SEmmanuel Vadot
39*5f62a964SEmmanuel VadotadditionalProperties: false
40*5f62a964SEmmanuel Vadot
41*5f62a964SEmmanuel Vadotexamples:
42*5f62a964SEmmanuel Vadot  - |
43*5f62a964SEmmanuel Vadot    platform {
44*5f62a964SEmmanuel Vadot      compatible = "sprd,pcm-platform";
45*5f62a964SEmmanuel Vadot      dmas = <&agcp_dma 1 1>, <&agcp_dma 2 2>,
46*5f62a964SEmmanuel Vadot             <&agcp_dma 3 3>, <&agcp_dma 4 4>,
47*5f62a964SEmmanuel Vadot             <&agcp_dma 5 5>, <&agcp_dma 6 6>,
48*5f62a964SEmmanuel Vadot             <&agcp_dma 7 7>, <&agcp_dma 8 8>,
49*5f62a964SEmmanuel Vadot             <&agcp_dma 9 9>, <&agcp_dma 10 10>;
50*5f62a964SEmmanuel Vadot      dma-names = "normal_p_l", "normal_p_r",
51*5f62a964SEmmanuel Vadot                  "normal_c_l", "normal_c_r",
52*5f62a964SEmmanuel Vadot                  "voice_c", "fast_p",
53*5f62a964SEmmanuel Vadot                  "loop_c", "loop_p",
54*5f62a964SEmmanuel Vadot                  "voip_c", "voip_p";
55*5f62a964SEmmanuel Vadot    };
56*5f62a964SEmmanuel Vadot...
57