aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJimmy Rubin <ejimrub@steludxu031.lud.stericsson.com>2010-05-31 17:23:26 +0530
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:31 -0600
commit689e212e8c38a70bc12a88975f82d90b66d4b33a (patch)
tree291ab2c177fb5a085ff60646a0e13ae88373d1d1 /arch
parentdaa48c12084ade2a9dc6341fefdc9b0c85f2dd2e (diff)
downloadlinux-2.6.34-ux500-689e212e8c38a70bc12a88975f82d90b66d4b33a.tar.gz
MCDE: enable configurable voltages through platform
Enable the MCDE driver to request voltages to the AB8500 for the generic display and analog supplies. Acked-By: Sundar R Iyer <sundar.iyer@stericsson.com> Signed-off-by: Jimmy Rubin <ejimrub@steludxu031.lud.stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/544 Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: Sundar R IYER <sundar.iyer@stericsson.com> Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I2f66f07c73736dfe36248cfc87c20bc1de3b8c89 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2385
Diffstat (limited to 'arch')
-rwxr-xr-xarch/arm/mach-ux500/board-mop500.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 5e1e8b1bd59..7a586aafc49 100755
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -933,6 +933,8 @@ struct mcde_display_generic_platform_data generic_display0_pdata = {
.reset_delay = 1,
#ifdef CONFIG_REGULATOR
.regulator_id = "v-display",
+ .min_supply_voltage = 2500000, /* 2.5V */
+ .max_supply_voltage = 2700000 /* 2.7V */
#endif
};
@@ -978,6 +980,8 @@ static struct mcde_display_generic_platform_data generic_subdisplay_pdata = {
.reset_delay = 1,
#ifdef CONFIG_REGULATOR
.regulator_id = "v-display",
+ .min_supply_voltage = 2500000, /* 2.5V */
+ .max_supply_voltage = 2700000 /* 2.7V */
#endif
};