[alsa-devel] [PATCH] asoc tlv320aic3x: add GPIO support

Daniel Mack daniel at caiaq.org
Sat Apr 19 02:41:03 CEST 2008

On Fri, Apr 18, 2008 at 11:26:28PM +0300, Jarkko Nikula wrote:
> No any show stopper either but I just started to think about gpiolib if
> AIC3x GPIOs are used as a GPIO.

I agree in general and thought about alternatives as well, but in this
case, it turns out to be a thing the aic3x driver is responsible to as
the registers in questions are purely in its scope. So the idea is to
set up the GPIO's functions via alsa controls and handle its events in
some board-related code as this is really not abstractable. One could,
however, do this setup in machine-related code within the asoc

My changes don't cast any problems on the existing implementation
either, so I would suggest to just take this patch until someone comes
up with a more suitable solution :)

Best regards,

More information about the Alsa-devel mailing list