Explorar o código

ASoC:kona: Add soundwire DMIC port configuration on kona

Add soundwire DMIC port configuration on kona. This change
will enable audio capture from WCD938x codec DMICs.

Change-Id: I5b9e9a65f5bc021d4b19a838c17b56b3cb9eb4eb
Signed-off-by: Sudheer Papothi <[email protected]>
Sudheer Papothi %!s(int64=6) %!d(string=hai) anos
pai
achega
17875f5c71
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      asoc/sm8250-port-config.h

+ 2 - 0
asoc/sm8250-port-config.h

@@ -43,9 +43,11 @@ static struct port_params rx_frame_params_dsd[SWR_MSTR_PORT_LEN] = {
 
 /* TX UC1: TX1: 1ch, TX2: 2chs, TX3: 1ch(MBHC) */
 static struct port_params tx_frame_params_default[SWR_MSTR_PORT_LEN] = {
+	{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},/* PCM OUT */
 	{1,  1,  0,  0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0},  /* TX1 */
 	{1,  0,  0,  0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 1},  /* TX2 */
 	{3,  2,  0,  0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0},  /* TX3 */
+	{3,  0,  0,  0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 1},  /* TX4 */
 };
 
 static struct swr_mstr_port_map sm_port_map[] = {