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