Explorar el Código

asoc: msm: routing: Add support for Rx and Tx codec dma interfaces

New codec dma interfaces have been introduced to connect LPASS and
Codec macros. This change is to add support routing for RX and TX
codec dma interface backends and their corresponding front ends.

CRs-Fixed: 2281591
Change-Id: I625c66352c61176cd82b801e97e9d565919e2715
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Aditya Bavanari hace 6 años
padre
commit
1e84a93ac4
Se han modificado 2 ficheros con 931 adiciones y 2 borrados
  1. 903 2
      asoc/msm-pcm-routing-v2.c
  2. 28 0
      asoc/msm-pcm-routing-v2.h

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 903 - 2
asoc/msm-pcm-routing-v2.c


+ 28 - 0
asoc/msm-pcm-routing-v2.h

@@ -197,6 +197,20 @@
 #define LPASS_BE_VA_CDC_DMA_TX_0 "VA_CDC_DMA_TX_0"
 #define LPASS_BE_VA_CDC_DMA_TX_1 "VA_CDC_DMA_TX_1"
 
+#define LPASS_BE_RX_CDC_DMA_RX_0 "RX_CDC_DMA_RX_0"
+#define LPASS_BE_RX_CDC_DMA_RX_1 "RX_CDC_DMA_RX_1"
+#define LPASS_BE_RX_CDC_DMA_RX_2 "RX_CDC_DMA_RX_2"
+#define LPASS_BE_RX_CDC_DMA_RX_3 "RX_CDC_DMA_RX_3"
+#define LPASS_BE_RX_CDC_DMA_RX_4 "RX_CDC_DMA_RX_4"
+#define LPASS_BE_RX_CDC_DMA_RX_5 "RX_CDC_DMA_RX_5"
+#define LPASS_BE_RX_CDC_DMA_RX_6 "RX_CDC_DMA_RX_6"
+#define LPASS_BE_RX_CDC_DMA_RX_7 "RX_CDC_DMA_RX_7"
+#define LPASS_BE_TX_CDC_DMA_TX_0 "TX_CDC_DMA_TX_0"
+#define LPASS_BE_TX_CDC_DMA_TX_1 "TX_CDC_DMA_TX_1"
+#define LPASS_BE_TX_CDC_DMA_TX_2 "TX_CDC_DMA_TX_2"
+#define LPASS_BE_TX_CDC_DMA_TX_3 "TX_CDC_DMA_TX_3"
+#define LPASS_BE_TX_CDC_DMA_TX_4 "TX_CDC_DMA_TX_4"
+#define LPASS_BE_TX_CDC_DMA_TX_5 "TX_CDC_DMA_TX_5"
 
 /* For multimedia front-ends, asm session is allocated dynamically.
  * Hence, asm session/multimedia front-end mapping has to be maintained.
@@ -419,6 +433,20 @@ enum {
 	MSM_BACKEND_DAI_WSA_CDC_DMA_TX_2,
 	MSM_BACKEND_DAI_VA_CDC_DMA_TX_0,
 	MSM_BACKEND_DAI_VA_CDC_DMA_TX_1,
+	MSM_BACKEND_DAI_RX_CDC_DMA_RX_0,
+	MSM_BACKEND_DAI_TX_CDC_DMA_TX_0,
+	MSM_BACKEND_DAI_RX_CDC_DMA_RX_1,
+	MSM_BACKEND_DAI_TX_CDC_DMA_TX_1,
+	MSM_BACKEND_DAI_RX_CDC_DMA_RX_2,
+	MSM_BACKEND_DAI_TX_CDC_DMA_TX_2,
+	MSM_BACKEND_DAI_RX_CDC_DMA_RX_3,
+	MSM_BACKEND_DAI_TX_CDC_DMA_TX_3,
+	MSM_BACKEND_DAI_RX_CDC_DMA_RX_4,
+	MSM_BACKEND_DAI_TX_CDC_DMA_TX_4,
+	MSM_BACKEND_DAI_RX_CDC_DMA_RX_5,
+	MSM_BACKEND_DAI_TX_CDC_DMA_TX_5,
+	MSM_BACKEND_DAI_RX_CDC_DMA_RX_6,
+	MSM_BACKEND_DAI_RX_CDC_DMA_RX_7,
 	MSM_BACKEND_DAI_PRI_SPDIF_TX,
 	MSM_BACKEND_DAI_SEC_SPDIF_RX,
 	MSM_BACKEND_DAI_SEC_SPDIF_TX,

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio