asoc: codecs: Tanggu reset pin and supplies

Enable power supplies and reset of Tanggu

CRs-Fixed: 2281591
Change-Id: I7d693263f328b51d2f333bddac5e15e98a5f9f51
Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
This commit is contained in:
Tanya Dixit
2018-08-09 14:29:51 +05:30
parent e1d192895c
commit 6256c5b989
2 changed files with 34 additions and 2 deletions

View File

@@ -71,6 +71,7 @@ struct wcd937x_priv {
tx_port_mapping[MAX_PORT][MAX_CH_PER_PORT];
struct codec_port_info
rx_port_mapping[MAX_PORT][MAX_CH_PER_PORT];
struct regulator_bulk_data *supplies;
};
struct wcd937x_micbias_setting {
@@ -85,6 +86,9 @@ struct wcd937x_pdata {
struct device_node *rx_slave;
struct device_node *tx_slave;
struct wcd937x_micbias_setting micbias;
struct cdc_regulator *regulator;
int num_supplies;
};
enum {