[PATCH] pxa/hx4700: bq24022 regulator needs to be enabled
Philipp Zabel
philipp.zabel at gmail.com
Wed Apr 20 09:40:03 EDT 2011
Am Dienstag, den 19.04.2011, 21:03 +0800 schrieb Eric Miao:
> On Tue, Apr 19, 2011 at 7:32 PM, Dmitry Artamonow <mad_soft at inbox.ru> wrote:
> > On 12:40 Tue 19 Apr , Dmitry Artamonow wrote:
> >> On 14:39 Fri 15 Apr , Paul Parsons wrote:
> >> > Add REGULATOR_CHANGE_STATUS flag to hx4700 bq24022 regulator. Without this flag the bq24022 cannot be enabled and the battery will not charge.
> >> >
> >> Ah, so that's why my hx4700 doesn't charges under linux! I noticed
> >> that some time ago, but never found the time to investigate this.
> >> Thanks for finding this out. Will test.
> >
> > Yes, looks like it really works! After about an hour in linux-2.6.38 with
> > this patch applied, battery charged from about a half-empty to almost
> > full (I verified by rebooting into WinMobile). Good! And in dmesg there were
> > also "enabling charger" messages every time I plugged charger cable into
> > device.
Dito. Thank you, Paul!
> So, get my
> > Tested-by: Dmitry Artamonow <mad_soft at inbox.ru>
>
> Thanks. Updated and pushed. Will send out git-pull soon.
Eric, if it's not too late, could you also apply the same fix for
magician?
cheers
Philipp
More information about the linux-arm-kernel
mailing list