diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-01-31 06:31:16 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-01 17:30:20 -0500 |
commit | cd2fa6d6035adb92b49ef04cbd1950c59f592cf6 (patch) | |
tree | 3c0b6c89bcea8c61a4d562e2c54a08e73484595d /arch/arm/mach-ux500/board-mop500-regulators.h | |
parent | 874c920241640595da77622b6ee98c14e79296e4 (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.h | 1 |
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]; | |||
19 | extern struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS]; | 19 | extern struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS]; |
20 | extern struct regulator_init_data tps61052_regulator; | 20 | extern struct regulator_init_data tps61052_regulator; |
21 | extern struct regulator_init_data gpio_en_3v3_regulator; | 21 | extern struct regulator_init_data gpio_en_3v3_regulator; |
22 | extern struct regulator_init_data sdi0_reg_init_data; | ||
22 | 23 | ||
23 | #endif | 24 | #endif |