aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-mop500-regulators.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-01-31 11:31:16 +0000
committerLinus Walleij <linus.walleij@linaro.org>2013-03-01 23:30:20 +0100
commitcd2fa6d6035adb92b49ef04cbd1950c59f592cf6 (patch)
tree3c0b6c89bcea8c61a4d562e2c54a08e73484595d /arch/arm/mach-ux500/board-mop500-regulators.h
parent874c920241640595da77622b6ee98c14e79296e4 (diff)
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>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500-regulators.h')
-rw-r--r--arch/arm/mach-ux500/board-mop500-regulators.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-regulators.h b/arch/arm/mach-ux500/board-mop500-regulators.h
index 78a0642a220..0c79d902f90 100644
--- a/arch/arm/mach-ux500/board-mop500-regulators.h
+++ b/arch/arm/mach-ux500/board-mop500-regulators.h
@@ -19,5 +19,6 @@ ab8500_regulator_reg_init[AB8500_NUM_REGULATOR_REGISTERS];
extern struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS];
extern struct regulator_init_data tps61052_regulator;
extern struct regulator_init_data gpio_en_3v3_regulator;
+extern struct regulator_init_data sdi0_reg_init_data;
#endif