From mboxrd@z Thu Jan 1 00:00:00 1970 From: mad_soft@inbox.ru (Dmitry Artamonow) Date: Tue, 19 Apr 2011 15:32:01 +0400 Subject: [PATCH] pxa/hx4700: bq24022 regulator needs to be enabled In-Reply-To: <20110419084032.GA30743@rainbow> References: <20110419084032.GA30743@rainbow> Message-ID: <20110419113201.GA32248@rainbow> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 -- Best regards, Dmitry "MAD" Artamonow