]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic3x: Support for OCMV configuration
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 31 Aug 2017 08:49:47 +0000 (11:49 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 31 Aug 2017 09:24:01 +0000 (10:24 +0100)
commitd89ff352dd80cce762dc42c2875adb6659a2091b
treec2168c918eb3192ab2c53a49d2885bb30023c325
parent9238ecfbaaeffcf7977c2776af9c57c0a4a878ed
ASoC: tlv320aic3x: Support for OCMV configuration

In aic3x class of devices Output Common-Mode Voltage can be configured for
better analog performance.
The OCMV value depends on the Analog and digital domain power supply
voltage configuration.

The default OCMV of 1.35V gives best performance when AVDD is around 2.7V
and DVDD is 1.525V, but for higher AVDD/DVDD higher OCMV setting is
recommended.

The patch gives an automatic way of guessing the best OCMV which can be
overwritten by a DT parameter if needed.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/tlv320aic3x.txt
sound/soc/codecs/tlv320aic3x.c
sound/soc/codecs/tlv320aic3x.h