diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2019-05-15 16:46:15 +0300 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-04-15 01:24:39 +0200 |
commit | de20e1613fadc3dd4656a4ddc312eb4e0fbaf58a (patch) | |
tree | 338eefd17bc2cf182706a8377f2153bd285cc347 /sound | |
parent | 287cb739aaeb886bb7d24560890cae6d51a88485 (diff) |
ASoC: sgtl5000: Fix pops for iMX6/7-based SoM
Increase wait to 600 ms for VAG ramp up
for Toradex's SoM based on iMX6/7.
Related to: #48500
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/sgtl5000.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 76cd62a54f85..79e59a2f36b5 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -35,8 +35,14 @@ #define SGTL5000_DAP_REG_OFFSET 0x0100 #define SGTL5000_MAX_REG_OFFSET 0x013A +/* The Manual recommends a VAG ramp delay 200-400 ms. + * For Toradex SoM Apalis TK1 v1.2A the optimal up/down delay is 500 ms. + * For Toradex SoM Apalis iMX6D/Q v1.1B the optimal delay + * is 600 ms for ramp up and 500 ms ramp down. + */ + /* Delay for the VAG ramp up */ -#define SGTL5000_VAG_POWERUP_DELAY 500 /* ms */ +#define SGTL5000_VAG_POWERUP_DELAY 600 /* ms */ /* Delay for the VAG ramp down */ #define SGTL5000_VAG_POWERDOWN_DELAY 500 /* ms */ |