]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sgtl5000: Allow LRCLK pad drive strength to be changed
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 5 Apr 2017 14:32:34 +0000 (11:32 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 10 Apr 2017 19:21:46 +0000 (20:21 +0100)
commitaa06767940a800a6327f44393f3527279065d99e
treec7e65a6d8af2200085c3ab86ef76eff2d7f1db8e
parent88fa2f7f38b4d2643a48b85595412833244accde
ASoC: sgtl5000: Allow LRCLK pad drive strength to be changed

Introduce the "lrclk-strength" property to allow LRCLK pad drive strength
to be changed via device tree.

When running a stress playback loop test on a mx6dl wandboard channel
swap can be noticed on about 10% of the times.

While debugging this issue I noticed that when probing the SGTL5000
LRCLK pin with the scope the swap did not happen. After removing
the probe the swap started to happen again.

After changing the LRCLK pad drive strength to the maximum value the
issue is gone.

Same fix works on a mx6dl Colibri board as well.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/sgtl5000.txt
sound/soc/codecs/sgtl5000.c