xref: /freebsd/sys/contrib/device-tree/Bindings/sound/sprd-pcm.txt (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1* Spreadtrum DMA platfrom bindings
2
3Required properties:
4- compatible: Should be "sprd,pcm-platform".
5- dmas: Specify the list of DMA controller phandle and DMA request line ordered pairs.
6- dma-names: Identifier string for each DMA request line in the dmas property.
7  These strings correspond 1:1 with the ordered pairs in dmas.
8
9Example:
10
11	audio_platform:platform@0 {
12		compatible = "sprd,pcm-platform";
13		dmas = <&agcp_dma 1 1>, <&agcp_dma 2 2>,
14		     <&agcp_dma 3 3>, <&agcp_dma 4 4>,
15		     <&agcp_dma 5 5>, <&agcp_dma 6 6>,
16		     <&agcp_dma 7 7>, <&agcp_dma 8 8>,
17		     <&agcp_dma 9 9>, <&agcp_dma 10 10>;
18		dma-names = "normal_p_l", "normal_p_r",
19			"normal_c_l", "normal_c_r",
20			"voice_c", "fast_p",
21			"loop_c", "loop_p",
22			"voip_c", "voip_p";
23	};
24