ASoC: tlv320aic23: add support for SPI control mode
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 6 Mar 2014 10:04:41 +0000 (14:04 +0400)
committerMark Brown <broonie@linaro.org>
Fri, 7 Mar 2014 02:55:33 +0000 (10:55 +0800)
commitb3fc5725967cea8b661383742ccce21fdeb3ef72
treeea6f1a500c802f76ca247887cf76534c294f0c7d
parent806057cc75ef641cd9b012b0278c1f179090bab2
ASoC: tlv320aic23: add support for SPI control mode

tlv320aic23 chip control interface may work in either I2C or SPI mode
depending on the MODE pin state. Functionality and register layout are
independent of the control mode.

Implement bus-specific parts as separate modules.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/tlv320aic23-i2c.c [new file with mode: 0644]
sound/soc/codecs/tlv320aic23-spi.c [new file with mode: 0644]
sound/soc/codecs/tlv320aic23.c
sound/soc/codecs/tlv320aic23.h