]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mmc-twl4030 uses regulator framework
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 11 Mar 2009 12:24:16 +0000 (12:24 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 11 Mar 2009 16:09:32 +0000 (09:09 -0700)
commit3fe326511c66ab842ef0a09a1f4c564b1a8beecf
tree7ea768dfb916e794d1589f4032e36e61acd59def
parent4e1f2b829034be5383341dca9fa25062980c3b44
mmc-twl4030 uses regulator framework

Finish decoupling the HSMMC glue from the twl4030 as the only
regulator provider, using the regulator framework instead.
This makes the glue's "mmc-twl4030" name become a complete
misnomer ... this code could probably all migrate into the
HSMMC driver now.

Tested on 3430SDP (SD and low-voltage MMC) and Beagle (SD),
plus some other boards (including Overo) after they were
converted to set up MMC regulators properly.

Eventually all boards should just associate a regulator with
each MMC controller they use.  In some cases (Overo MMC2 and
Pandora MMC3, at least) that would be a fixed-voltage regulator
with no real software control.  As a temporary hack (pending
regulator-next updates to make the "fixed.c" regulator become
usable) there's a new ocr_mask field for those boards.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mmc-twl4030.c
arch/arm/mach-omap2/mmc-twl4030.h
drivers/mmc/host/omap_hsmmc.c