android_kernel_xiaomi_sm8350/sound/soc
Lopez Cruz, Misael ec67624d33 ASoC: Add GPIO support for jack reporting interface
Add GPIO support to jack reporting framework in ASoC using gpiolib calls.
The gpio support exports two new functions: snd_soc_jack_add_gpios and
snd_soc_jack_free_gpios.

Client drivers using gpio feature must pass an array of jack_gpio pins
belonging to a specific jack to the snd_soc_jack_add_gpios function. The
framework will request the gpios, set the data direction and request irq.
The framework will update power status of related jack_pins when an event on
the gpio pins comes according to the reporting bits defined for each gpio.

All gpio resources allocated when adding jack_gpio pins can be released
using snd_soc_jack_free_gpios function.

Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-04 14:47:38 +00:00
..
atmel ASoC: Refactor WM8731 device registration 2009-02-18 11:55:22 +00:00
au1x ASoC: Staticise PCM operations tables 2009-01-19 16:23:27 +00:00
blackfin ASoC: count reaches 10001, not 10000. 2009-02-08 20:40:24 +00:00
codecs ASoC: UDA1380: DATAI is slave only 2009-03-03 15:58:51 +00:00
davinci ASoC: Fix DaVinci module unload error 2009-02-13 20:21:30 +00:00
fsl ASoC: optimize init sequence of Freescale MPC8610 sound drivers 2009-02-06 12:08:15 +00:00
omap ASoC: Fix forgotten replacements of socdev->codec 2009-02-11 08:28:04 +01:00
pxa ASoC: Use network mode with 2 slots for 16-bit stereo in pxa-ssp/Zylonite 2009-03-03 15:54:11 +00:00
s3c24xx ASoC: Fix copyright statements on Simtec files 2009-02-28 17:18:24 +00:00
sh ALSA: ASoC - Fix wrong section types 2008-12-10 07:47:22 +01:00
Kconfig ASoC: Add jack reporting interface 2009-01-09 10:31:31 +00:00
Makefile ASoC: Add jack reporting interface 2009-01-09 10:31:31 +00:00
soc-core.c Merge branch 'for-2.6.29' into for-2.6.30 2009-02-13 14:02:08 +00:00
soc-dapm.c ASoC: Add SND_SOC_DAPM_PIN_SWITCH controls for exposing DAPM pins 2009-02-28 21:31:21 +00:00
soc-jack.c ASoC: Add GPIO support for jack reporting interface 2009-03-04 14:47:38 +00:00