ARM: mach-shmobile: add SDHI2 to the 2.8V fixed regulator consumers on kzm9g
Rafael J. Wysocki
AppliedQuoted 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.
Signed-off-by Guennadi Liakhovetski <[email protected]>---
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@@ -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 */