mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
This commit is contained in:
parent
d245b7a2a1
commit
941ac165d8
3 changed files with 27 additions and 20 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue