]> 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)
commit02339edf739bf8fe97d36d9d1354167d7a782553
treec2168c918eb3192ab2c53a49d2885bb30023c325
parentc1e7f93cfc9ccbe5772b8d0eb3da04ab3bcc7881
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