Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17875f5c authored by Sudheer Papothi's avatar Sudheer Papothi
Browse files

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: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent d59c94eb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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[] = {