Skip to contentSkip to conversation

ARM: mach-shmobile: add SDHI2 to the 2.8V fixed regulator consumers on kzm9g

PATCH Rafael J. Wysocki 1 participant 1 message Jul 2, 2012 SuperH

lore
Share & tools
lore

Rafael J. Wysocki

author Applied
#0 lore raw
Quoted 8 lines · Guennadi Liakhovetski

The recently added SDHI2 interface to kzm9g needs power supplies for the upcoming transition away from OCR masks, provided in platform data.

---

Rafael, please, take this one too for 3.6. SDHI2 has just been added, so, we need a power regulator for it as well.

Applied to the kzm9g branch of the renesas.git tree.

Thanks,
Rafael

Quoted 22 lines
 arch/arm/mach-shmobile/board-kzm9g.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
arch/arm/mach-shmobile/board-kzm9g.c +3 -1
index e72ff8d..53b7ea9 100644
@@ -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 */