ARM: mach-shmobile: add SDHI2 to the 2.8V fixed regulator consumers on kzm9g
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Sat, 30 Jun 2012 23:12:04 +0000 (01:12 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 2 Jul 2012 21:44:54 +0000 (23:44 +0200)
The recently added SDHI2 interface to kzm9g needs power supplies for the
upcoming transition away from OCR masks, provided in platform data.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-shmobile/board-kzm9g.c

index 256aa8d..8636e6a 100644 (file)
@@ -373,11 +373,13 @@ static struct platform_device mmc_device = {
        .resource       = sh_mmcif_resources,
 };
 
-/* Fixed 2.8V regulators to be used by SDHI0 */
+/* Fixed 2.8V regulators to be used by SDHI0 and SDHI2 */
 static struct regulator_consumer_supply fixed2v8_power_consumers[] =
 {
        REGULATOR_SUPPLY("vmmc", "sh_mobile_sdhi.0"),
        REGULATOR_SUPPLY("vqmmc", "sh_mobile_sdhi.0"),
+       REGULATOR_SUPPLY("vmmc", "sh_mobile_sdhi.2"),
+       REGULATOR_SUPPLY("vqmmc", "sh_mobile_sdhi.2"),
 };
 
 /* SDHI */