[PATCH] pxa/hx4700: bq24022 regulator needs to be enabled

Dmitry Artamonow mad_soft at inbox.ru
Tue Apr 19 07:32:01 EDT 2011


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.

So, get my
Tested-by: Dmitry Artamonow <mad_soft at inbox.ru>

-- 
Best regards,
Dmitry "MAD" Artamonow




More information about the linux-arm-kernel mailing list