ARM: 5721/1: MMCI enable the use of a regulator
authorLinus Walleij <linus.walleij@stericsson.com>
Tue, 22 Sep 2009 13:41:40 +0000 (14:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 22 Sep 2009 19:49:05 +0000 (20:49 +0100)
This enables the use of a regulator to power the MMCI/PL180
PrimeCell. The OCR mask is calculated and voltage is set using
the new MMC core functions for discovering voltage ranges
in regulators. The platform translate_vdd function which basically
controls the 4 lines out of the PL180 is disabled if you use a
regulator instead.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found