]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ALSA] soc - tlv320aic3x - add GPIO support
authorDaniel Mack <daniel@caiaq.de>
Wed, 30 Apr 2008 14:20:52 +0000 (16:20 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 19 May 2008 11:19:14 +0000 (13:19 +0200)
commit54e7e6167d29a4a98207884b2fbd28b0b3fe91f6
tree84ada6a443d563fbb3d0a58a18768aeefe24f33e
parent4f9c16ccfa26691dbb9a5d9e7d5098eb934ccdbe
[ALSA] soc - tlv320aic3x - add GPIO support

This patch adds support for AIC3x GPIO lines. They can be configured for
many possible functions as well as be driven manually. I also introduced
i2c read functionality since the GPIO state register has to be read from
hardware every time and can not be served from cache.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/soc/codecs/tlv320aic3x.c
sound/soc/codecs/tlv320aic3x.h