diff options
author | Bibek Basu <bibek.basu@stericsson.com> | 2011-06-02 14:29:07 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2011-07-22 15:49:48 +0200 |
commit | 0deb48519ef4413d17fa54f5939c11f916c28c05 (patch) | |
tree | 368ce2a196ae654377d4e7b27dfcfafc3d9be7ce /arch | |
parent | c7576c8ad01cc21454d720167e640dfd9cf54125 (diff) |
U5500 : Initial SIM level shifter configuration
Initial SIM bank register configuration to
enable SIM data communication
ST-Ericsson Linux next: 336280
ST-Ericsson ID: 341172
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ice5c254e969a2f4de8d89f2661e45117c7869459
Signed-off-by: Bibek Basu <bibek.basu@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24408
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-ux500/board-u5500-regulators.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-u5500.c | 13 |
2 files changed, 17 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-u5500-regulators.c b/arch/arm/mach-ux500/board-u5500-regulators.c index f1b9f119bd5..eff0f0d5d6e 100644 --- a/arch/arm/mach-ux500/board-u5500-regulators.c +++ b/arch/arm/mach-ux500/board-u5500-regulators.c @@ -128,8 +128,11 @@ ab5500_regulator_init_data[AB5500_NUM_REGULATORS] = { }, [AB5500_LDO_SIM] = { .constraints = { - .min_uV = 1875000, + .boot_on = 1, + .always_on = 1, + .min_uV = 2900000, .max_uV = 2900000, + .apply_uV = 1, .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE | REGULATOR_CHANGE_STATUS, }, diff --git a/arch/arm/mach-ux500/board-u5500.c b/arch/arm/mach-ux500/board-u5500.c index db9c45d5d47..247a2d30b92 100644 --- a/arch/arm/mach-ux500/board-u5500.c +++ b/arch/arm/mach-ux500/board-u5500.c @@ -319,6 +319,19 @@ static struct ab5500_platform_data ab5500_plf_data = { .regulator = &u5500_ab5500_regulator_data, .dev_data[AB5500_DEVID_LEDS] = &ab5500_hvleds_data, .dev_data_sz[AB5500_DEVID_LEDS] = sizeof(ab5500_hvleds_data), + .init_settings = (struct abx500_init_settings[]){ + { + .bank = 0x3, + .reg = 0x17, + .setting = 0x0F, + }, + { + .bank = 0x3, + .reg = 0x18, + .setting = 0x10, + }, + }, + .init_settings_sz = 2, }; static struct platform_device u5500_ab5500_device = { |