summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/powermgmt-imx233.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-05-02 21:49:13 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-05-28 16:21:03 +0100
commit941ac165d864ccdd4e4ae870366f4e0a6bc30055 (patch)
treed0030c16f10321833f383baafaf3b78610951526 /firmware/target/arm/imx233/powermgmt-imx233.h
parentd245b7a2a1113b6dbdbfb10f5ee984a00c987844 (diff)
downloadrockbox-941ac165d864ccdd4e4ae870366f4e0a6bc30055.tar.gz
rockbox-941ac165d864ccdd4e4ae870366f4e0a6bc30055.tar.bz2
rockbox-941ac165d864ccdd4e4ae870366f4e0a6bc30055.zip
imx233: speedup charging trickle phase
Per Freescale recommandation, we need to ramp up the 4.2V rail before enabling charging. Ramping should be done at 1 step/10ms, but the old code did 1 step/1s because the powermgmt_step() function is called once every second. Use a tick task to ramp up much faster. Change-Id: I9a52bdd0c2ba5426d83ed42db8db7ecce2fea1f7
Diffstat (limited to 'firmware/target/arm/imx233/powermgmt-imx233.h')
-rw-r--r--firmware/target/arm/imx233/powermgmt-imx233.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/powermgmt-imx233.h b/firmware/target/arm/imx233/powermgmt-imx233.h
index 4cbe0072e7..640a8e3740 100644
--- a/firmware/target/arm/imx233/powermgmt-imx233.h
+++ b/firmware/target/arm/imx233/powermgmt-imx233.h
@@ -31,7 +31,6 @@ struct imx233_powermgmt_info_t
enum charge_state_type state;
int charging_timeout; /* time in tick before timeout, -1 if n/a */
int topoff_timeout; /* ditto */
- int incr_4p2_ilimit_timeout; /* ditto */
};
struct imx233_powermgmt_info_t imx233_powermgmt_get_info(void);