]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas5086: add regulator consumer support
authorDaniel Mack <zonque@gmail.com>
Thu, 3 Jul 2014 14:56:43 +0000 (16:56 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 3 Jul 2014 15:09:42 +0000 (16:09 +0100)
commitf0ef9e744fa0eb260722a9cee3772cbc026f5f37
treebadc98c3da5fff36ec11026724ef33927a1722af
parent081ef54181a1ff0d2c7e189052277797ff8dd0dd
ASoC: tas5086: add regulator consumer support

The TAS5086 has two power domains, DVDD and AVDD. Enable them both as
long as the codec is in use.

Also, switch on the power to identify the chip at device probe level,
and switch it off again afterwards. The codec level will take care for
power handling later.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Documentation/devicetree/bindings/sound/ti,tas5086.txt
sound/soc/codecs/tas5086.c