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)
commit34e84f39a27d059a3e6ec6e8b94aafa702e6f220
tree263bf7ee2a9f6b4ce86f89a82806fb73ff3c41d7
parent6ef297f86b62f187c59475784208f75c2ed8ccd8
ARM: 5721/1: MMCI enable the use of a regulator

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>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.h