]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mfd: twl4030-gpio driver
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 20 Oct 2008 21:51:46 +0000 (23:51 +0200)
committerSamuel Ortiz <samuel@sortiz.org>
Tue, 21 Oct 2008 23:19:39 +0000 (01:19 +0200)
commite9d359471dfed51a1bdeaa484ee7dac0679d0a20
tree5291c4f0af15e2b3adcd136cdb53562516f2e9dd
parentf96411ab73647ebf9485d77546c0c1f554bafcd7
mfd: twl4030-gpio driver

This adds basic support for the GPIOs in the twl4030 power management
chip.  That includes two open drain LED drivers, and the use of GPIO-0
(and GPIO-1) as MMC/SD card detect switches which can control whether
the VMMC1 (and VMMC2) regulators are active.

This version of the code has a debounce call that will probably be
replaced before long, when a more generic interface exists.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/twl4030-gpio.c [new file with mode: 0644]