aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/board-mop500-regulators.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-01-31 06:31:16 -0500
committerLinus Walleij <linus.walleij@linaro.org>2013-03-01 17:30:20 -0500
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 78a0642a2206..0c79d902f904 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];
19extern struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS]; 19extern struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS];
20extern struct regulator_init_data tps61052_regulator; 20extern struct regulator_init_data tps61052_regulator;
21extern struct regulator_init_data gpio_en_3v3_regulator; 21extern struct regulator_init_data gpio_en_3v3_regulator;
22extern struct regulator_init_data sdi0_reg_init_data;
22 23
23#endif 24#endif