]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
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)
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>

No differences found