ARM: vexpress: Enable regulator framework when MMCI is in use
authorPawel Moll <pawel.moll@arm.com>
Fri, 28 Nov 2014 16:44:31 +0000 (16:44 +0000)
committerArnd Bergmann <arnd@arndb.de>
Fri, 28 Nov 2014 20:57:07 +0000 (21:57 +0100)
commit1f1dd5889cf163f4b2302738bd22cde9e32125da
tree1b9b7e4f1793c21d1b6f8f0f36b425f1ae2da237
parent00239d9da38419792494ce7d2bb69a4ee8b5b374
ARM: vexpress: Enable regulator framework when MMCI is in use

The MMCI driver, when used with a Device Tree described device, relies
on the "vmmc" voltage regulator supply to set the OCR register voltage bits,
using MMC core's mmc_regulator_get_supply() function.

Without the regulator framework present there are no valid operating
voltages reported and the device initialisation fails:

mmci-pl18x 10005000.mmci: No vmmc regulator found
mmci-pl18x 10005000.mmci: no support for card's volts
mmc0: error -22 whilst initialising SD card

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-vexpress/Kconfig