]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ssm4567: Add sense support
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 12 Aug 2015 11:58:38 +0000 (13:58 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 14 Aug 2015 16:29:15 +0000 (17:29 +0100)
commit4c68502c572a10c0b9d5010df3899969c2ed2231
treefa7198bcc3b1f6f67702a12825f2877ef86ce9eb
parentd6e5ceb9615f052e5a7771049f9e1ec0a0450e3d
ASoC: ssm4567: Add sense support

The ssm4567 has sensing circuitry that can be used to monitor the current
and voltage on the speaker amplifier output has well as the VBAT input.
This data can be output over the I2S interface so it can be processed by a
DSP or similar.

This patch adds the sense capture output stream to the CODEC DAI as well as
DAPM widgets that ensure that the sensing circuitry is powered up when the
capture stream is active.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ssm4567.c