asoc: holi: update soundwire master port configuration for Tx

Update the soundwire master port configuration
for 4.8MHz use cases in Tx path for holi.

Change-Id: If183c9eeba1d9e64eff978021dc234b183e83f3b
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
This commit is contained in:
Vangala, Amarnath
2020-09-22 22:05:48 +05:30
parent 25ae32a589
commit 63efc9ab3b

View File

@@ -34,8 +34,8 @@ static struct port_params rx_frame_params_default[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] = {
{3, 1, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0x00, 0x00}, /* TX1 */
static struct port_params tx_frame_params_4p8MHz[SWR_MSTR_PORT_LEN] = {
{3, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 1, 0x00, 0x00}, /* TX1 */
{3, 2, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0x00, 0x00}, /* TX2 */
{7, 1, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0x00, 0x00}, /* TX3 */
};
@@ -47,7 +47,7 @@ static struct port_params tx_frame_params_wcd937x[SWR_MSTR_PORT_LEN] = {
};
static struct swr_mstr_port_map sm_port_map[] = {
{VA_MACRO, SWR_UC0, tx_frame_params_default},
{VA_MACRO, SWR_UC0, tx_frame_params_4p8MHz},
{RX_MACRO, SWR_UC0, rx_frame_params_default},
{RX_MACRO, SWR_UC1, rx_frame_params_dsd},
};