asoc: wsa884x: adjust the deglitch settings for wsa884x

Issue: when we change the UVLO_DEGLITCH_SETTING (0x3460) 6.8ms
and above, we can’t hear any audio playback from the Music app
even at max voltage (4.1V).

HW team suggest to change the UVLO_DEGLITCH_SETTING from 0x1B
to 0x1D and WSA884X_PA_FSM_TIMER0(0x3433) to 0xC0. By these
two settings playback is not getting mute.

Change-Id: I5d2d57c26d7f467ba3d2231f1642f34643f6d716
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
This commit is contained in:
Prasad Kumpatla
2023-07-11 17:01:33 +05:30
committed by Ganapathiraju Sarath Varma
parent deeec3d073
commit 0a93a99156

View File

@@ -146,9 +146,10 @@ static const struct wsa_reg_mask_val reg_init_2S[] = {
};
static const struct wsa_reg_mask_val reg_init_uvlo[] = {
{WSA884X_UVLO_PROG, 0xFF, 0x77},
{WSA884X_UVLO_DEGLITCH_CTL, 0xFF, 0x1B},
{WSA884X_UVLO_PROG1, 0xFF, 0x40},
{WSA884X_UVLO_PROG, 0xFF, 0x77},
{WSA884X_PA_FSM_TIMER0, 0xFF, 0xC0},
{WSA884X_UVLO_DEGLITCH_CTL, 0xFF, 0x1D},
{WSA884X_UVLO_PROG1, 0xFF, 0x40},
};
static int wsa884x_handle_post_irq(void *data);