ARM: shmobile: kzm9g: add fixed voltage regulators for SDHI0 and SDHI2
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 18 Mar 2013 18:26:44 +0000 (19:26 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 21 Mar 2013 10:37:00 +0000 (19:37 +0900)
commit54ca74ef09a98fcbd77887bb6ff38986ff593955
treebbe66f8e3ffb288b795803b6cc1aff4acfdbb376
parenta9060f89d9ad4e806c69acb1ea5ebdaeaa91e54b
ARM: shmobile: kzm9g: add fixed voltage regulators for SDHI0 and SDHI2

Both SDHI0 and SDHI2 power supplies on kzm9g can be switched on and off. In
the current version this is not used and the regulators are hard-wired to
"on." This patch switches SDHI0 and SDHI2 to proper fixed-voltage
regulators, using GPIOs to enable and disable them. Both ports shall
now be specifying the MMC_CAP_POWER_OFF_CARD MMC capability. Only SDHI0
has been tested with an SDIO card, since SDHI2 is a microSD slot.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-kzm9g.c