asoc: codecs: Add unified SWR Tx mapping support

Add dynamic port enablement for wcd938x and
wcd937x targets to support unified swr tx port
mapping added as part of SWR 1.6 updates.

Change-Id: If0cf823dc51028fd5bd95f5a49ffe05998526be6
Signed-off-by: Ramlal Karra <rkarra@codeaurora.org>
Bu işleme şunda yer alıyor:
Ramlal Karra
2020-01-27 21:59:36 +05:30
işlemeyi yapan: Gerrit - the friendly Code Review server
ebeveyn 669089fdbd
işleme 3e2c37d273
8 değiştirilmiş dosya ile 616 ekleme ve 268 silme

Dosyayı Görüntüle

@@ -10,6 +10,7 @@
#include <asoc/wcd-irq.h>
#include <asoc/wcd-clsh.h>
#include "wcd938x-mbhc.h"
#include "wcd938x.h"
#define SWR_SCP_CONTROL 0x44
#define SWR_SCP_HOST_CLK_DIV2_CTL_BANK 0xE0
@@ -101,6 +102,7 @@ struct wcd938x_priv {
int flyback_cur_det_disable;
int ear_rx_path;
bool dev_up;
u8 tx_master_ch_map[WCD938X_MAX_SLAVE_CH_TYPES];
};
struct wcd938x_micbias_setting {