ASoC: Add support for tlv320aic3007 to tlv320aic3x codec.
authorRandolph Chung <rchung42@gmail.com>
Fri, 20 Aug 2010 04:47:53 +0000 (12:47 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 20 Aug 2010 11:14:46 +0000 (12:14 +0100)
commit6184f105aa75009e6d380b59316305079a44a6ee
tree77086d538a4938dd96cf49b0c27ebfaf4bbef0d9
parentc04019d450a885a095a2ca38fcd5db8d57cd2718
ASoC: Add support for tlv320aic3007 to tlv320aic3x codec.

This patch adds support for the tlv320aic3007 codec to the tlv320aic3x
driver.

The tlv320aic3007 is similar to the aic31, but has an additional class-D
speaker amp. The speaker amp control register overlaps with the mono
output register of other codecs in this family, so we add logic to
identify the actual codec being registered to set things up accordingly.

Signed-off-by: Randolph Chung <tausq@parisc-linux.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320aic3x.c
sound/soc/codecs/tlv320aic3x.h