ASoC: wsa883x: Update hardware sequence for WSA883x codec

Update hardware sequence for WSA883x codec as per hardware
requirements.

Change-Id: I1e7b8bf28bca8f07f548db89a31e8a63a5282482
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
Sudheer Papothi
2020-07-09 04:15:25 +05:30
parent 2e4a1a6396
commit 5701487d16

View File

@@ -97,11 +97,13 @@ static const struct wsa_reg_mask_val reg_init[] = {
{WSA883X_CDC_SPK_DSM_R5, 0xFF, 0x8B},
{WSA883X_CDC_SPK_DSM_R6, 0xFF, 0x9B},
{WSA883X_CDC_SPK_DSM_R7, 0xFF, 0x3F},
{WSA883X_VBAT_SNS, 0x60, 0x20},
{WSA883X_DRE_CTL_0, 0xF0, 0x90},
{WSA883X_DRE_IDLE_DET_CTL, 0x10, 0x00},
{WSA883X_CURRENT_LIMIT, 0x78, 0x20},
{WSA883X_CURRENT_LIMIT, 0x78, 0x40},
{WSA883X_DRE_CTL_0, 0x07, 0x02},
{WSA883X_VAGC_TIME, 0x0F, 0x0F},
{WSA883X_VAGC_ATTN_LVL_1_2, 0x70, 0x10},
{WSA883X_VAGC_ATTN_LVL_3, 0x07, 0x02},
{WSA883X_VAGC_CTL, 0x01, 0x01},
{WSA883X_TAGC_CTL, 0x0E, 0x0A},