ARM: ux500: Use the GPIO regulator framework for SDI0's 'en' and 'vsel'
authorLee Jones <lee.jones@linaro.org>
Thu, 31 Jan 2013 11:31:16 +0000 (11:31 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 1 Mar 2013 22:30:20 +0000 (23:30 +0100)
commitcd2fa6d6035adb92b49ef04cbd1950c59f592cf6
tree3c0b6c89bcea8c61a4d562e2c54a08e73484595d
parent874c920241640595da77622b6ee98c14e79296e4
ARM: ux500: Use the GPIO regulator framework for SDI0's 'en' and 'vsel'

To prevent lots of unnecessary call-backs into platform code, we're
now using the GPIO regulator framework to control the 'enable' (en)
and 'voltage select' (vsel) GPIO pins which in turn control the
MMCI's secondary regulator settings. This already works with Device
Tree, but when booting with ATAGs we need to register it as a
platform device.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500-regulators.c
arch/arm/mach-ux500/board-mop500-regulators.h
arch/arm/mach-ux500/board-mop500.c