msm: mdm2: Add delay between subsequent PS_HOLD for 8064 fusion3

This feature was previously added for the 8960 sglte target,
in commit 21274cf221, but it also
applies to the 8064 sglte2 target. The original commit message
follows.

During SSR first a reset of external modem is issued
and mdm_do_soft_power_on() toggles ap2mdm_soft_reset which
in turn toogles the PS_HOLD. Then a part of SSR external
modem is powered up and mdm_do_soft_power_on() again toggles
the gpio. For PMIC register stabilization we need a 1sec delay
between subsequent mdm_do_soft_power_on().
By default the delay is 500msec, so adding another 500msec for
stablization.

Signed-off-by: Joel King <joelking@codeaurora.org>

Conflicts:
	arch/arm/mach-msm/board-8064.c

Change-Id: I8ac22d94205cb309dd5ba4b1f3a20933632298db
This commit is contained in:
Joel King 2013-04-17 08:40:50 -07:00 committed by Dan Pasanen
parent b63bb3962e
commit cddcad9979
1 changed files with 2 additions and 0 deletions

View File

@ -1788,6 +1788,8 @@ static struct gpiomux_setting mdm2ap_status_gpio_run_cfg = {
static struct mdm_platform_data mdm_platform_data = {
.mdm_version = "3.0",
.ramdump_delay_ms = 2000,
/* delay between two PS_HOLDs */
.ps_hold_delay_ms = 500,
.early_power_on = 1,
.sfr_query = 1,
.vddmin_resource = &mdm_vddmin_rscs,