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)
commit570c70a60f53ca737ead4e5966c446bf0d39fac9
treec7e65a6d8af2200085c3ab86ef76eff2d7f1db8e
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
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