Implement retention sleep mode
/arch/arm/mach-msm/board-m2_spr.c
blob:bf3b011649630ff8a57fe6ed96800a1c9585fda8 -> blob:083e69d4afcd7fa580e11cba23fe1600df4165d6
--- arch/arm/mach-msm/board-m2_spr.c
+++ arch/arm/mach-msm/board-m2_spr.c
@@ -1785,10 +1785,23 @@ static struct sec_bat_platform_data sec_
.get_cable_type = msm8960_get_cable_type,
.sec_battery_using = is_sec_battery_using,
.check_batt_type = check_battery_type,
- .iterm = 100,
.charge_duration = 8 * 60 * 60,
.recharge_duration = 2 * 60 * 60,
.max_voltage = 4350 * 1000,
+#if defined(_d2spi_)
+ .iterm = 150,
+ .recharge_voltage = 4300 * 1000,
+ .event_block = 580,
+ .high_block = 580,
+ .high_recovery = 440,
+ .low_block = -40,
+ .low_recovery = -5,
+ .lpm_high_block = 580,
+ .lpm_high_recovery = 440,
+ .lpm_low_block = -40,
+ .lpm_low_recovery = -5,
+#else
+ .iterm = 100,
.recharge_voltage = 4280 * 1000,
.event_block = 600,
.high_block = 450,
@@ -1799,6 +1812,7 @@ static struct sec_bat_platform_data sec_
.lpm_high_recovery = 435,
.lpm_low_block = 0,
.lpm_low_recovery = 15,
+#endif
.wpc_charging_current = 500,
};