u-boot fix to charge empty battery
Werner Almesberger
werner at openmoko.org
Thu Oct 9 02:43:30 CEST 2008
Philipp Hug wrote:
> This causes the power management module to shut down the phone before it
> starts charging.
Are you sure ? According to the PCF50633 manual,
- the behaviour when setting BVMCTL.bvmlvl = 0 is unspecified [1],
and
- Vbat is only considered if OOCCTL.usbbatchk = 1 [2], which is
neither the NoPower default nor what u-boot sets [3]. The kernel
doesn't touch OOCCTL either.
[1] 8.5.5, table 37
[2] 8.5.6, second to last paragraph, and also 8.1.5, table 13
[3] http://git.openmoko.org/?p=u-boot.git;a=blob;f=board/neo1973/gta02/pcf50633.c;h=69d7fb05ad4dfb57f499235986e6ce7e64b45270;hb=stable
- Werner
More information about the devel
mailing list