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
..
2008-12-10 17:14:36 +01:00
2006-01-03 12:18:18 +01:00
2008-07-14 09:01:02 +02:00
2008-04-24 12:00:25 +02:00
2008-04-24 12:00:25 +02:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2008-01-31 17:29:13 +01:00
2008-01-31 17:29:13 +01:00
2008-10-24 18:16:50 +02:00
2008-08-01 13:13:13 +02:00
2008-06-13 16:48:49 +02:00
2009-01-12 14:56:41 +01:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2008-01-31 17:29:21 +01:00
2008-06-13 16:47:33 +02:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2008-01-31 17:29:48 +01:00
2006-01-03 12:18:47 +01:00
2008-06-02 11:45:53 +02:00
2005-04-16 15:20:36 -07:00
2006-01-03 12:18:25 +01:00
2005-04-16 15:20:36 -07:00
2006-03-22 10:24:57 +01:00
2007-10-16 16:51:18 +02:00
2008-01-31 17:29:13 +01:00
2007-10-16 15:58:10 +02:00
2006-05-04 00:42:42 +01:00
2007-10-16 15:58:10 +02:00
2007-10-16 16:51:18 +02:00
2006-03-22 10:24:57 +01:00
2008-11-12 17:07:52 +01:00
2007-10-16 16:51:18 +02:00
2008-12-10 15:10:44 +01:00
2006-09-19 12:43:58 +01:00
2008-11-17 11:45:39 +00:00
2008-10-11 12:39:35 -07:00
2008-08-01 13:37:15 +02:00
2007-10-16 16:51:18 +02:00
2008-04-29 19:01:56 +02:00
2008-02-22 14:20:08 -08:00
2006-01-03 12:18:06 +01:00
2007-10-16 16:51:18 +02:00
2006-06-22 21:33:05 +02:00
2007-10-16 16:51:18 +02:00
2008-08-25 09:57:38 +02:00
2007-02-09 09:00:05 +01:00
2008-09-23 08:18:10 +02:00
2007-10-16 16:51:18 +02:00
2008-11-17 11:45:53 +00:00
2007-02-09 09:01:14 +01:00
2008-08-25 09:57:48 +02:00
2006-01-03 12:17:52 +01:00
2008-07-10 09:32:58 +02:00
2006-01-03 12:17:52 +01:00
2007-10-16 16:51:18 +02:00
2005-04-16 15:20:36 -07:00
2006-01-03 12:17:57 +01:00
2007-10-16 16:51:18 +02:00
2006-01-03 12:18:14 +01:00
2008-08-06 15:39:47 +02:00
2008-12-09 10:49:26 +00:00
2009-02-28 21:31:21 +00:00
2008-07-29 21:32:22 +02:00
2009-03-04 14:47:38 +00:00
2006-03-22 10:24:57 +01:00
2005-04-16 15:20:36 -07:00
2009-01-02 17:11:12 -02:00
2006-01-03 12:18:08 +01:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2008-01-31 17:29:13 +01:00
2008-11-17 11:45:39 +00:00
2008-05-27 15:56:20 +02:00
2006-03-22 10:24:57 +01:00
2008-11-12 11:13:29 +01:00
2008-08-13 11:46:40 +02:00
2006-01-08 20:14:07 -08:00
2008-08-06 15:39:56 +02:00
2007-10-16 16:51:18 +02:00