]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitc46af3124b05ccb37d1311e442f191bb5c1d888e
treebadc98c3da5fff36ec11026724ef33927a1722af
parent7171511eaec5bf23fb06078f59784a3a0626b38f
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