From 17875f5c718175a6acac0f51c9dbbb03293e2cc8 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Fri, 1 Feb 2019 22:50:19 +0530 Subject: [PATCH] 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 --- asoc/sm8250-port-config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/asoc/sm8250-port-config.h b/asoc/sm8250-port-config.h index 0f8c3c1b0722..a29f1065fbed 100644 --- a/asoc/sm8250-port-config.h +++ b/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[] = {