asoc: codecs: Update LPM voting support in codec supplies

For power saving during RBSC, need to vote for minimum
or zero current on load for respective regulator to
enter LPM mode. Add required support from audio WCD/WSA
to vote accordingly during suspend/resume.

Change-Id: I578195b84ba18a0b69dde3b93a3f6461efa85f7f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
Laxminath Kasam
2020-04-29 17:57:00 +05:30
parent 127718f3d9
commit ec8a0b507c
6 changed files with 182 additions and 7 deletions

View File

@@ -97,6 +97,7 @@ struct wsa883x_priv {
bool comp_enable;
bool visense_enable;
bool ext_vdd_spk;
bool dapm_bias_off;
struct swr_port port[WSA883X_MAX_SWR_PORTS];
int global_pa_cnt;
int dev_mode;