[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161222154715.sowhh2kil4r7ovdx@earth>
Date: Thu, 22 Dec 2016 16:47:16 +0100
From: Sebastian Reichel <sre@...nel.org>
To: Peter Rosin <peda@...ntia.se>
Cc: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH 0/3] power: supply: bq24735: handle AC adapter absence
Hi,
On Tue, Dec 20, 2016 at 12:32:59PM +0100, Peter Rosin wrote:
> There is provision in the driver for handling the case where the
> chargers are not responding to i2c requests when the AC adapter
> is absent. I think this has been used by some Tegra boards that
> leave the charger handling to some other component and that only
> wants the kernel to be aware of the charging status for reporting
> (or whatever).
>
> However, in my case, the kernel should handle configuration and
> enable/disable the charging, but this is not working very well
> when the charger disappears (and is reset) on AC adapter absence.
>
> This series fixes the issues I have found in this area so that I
> can boot without AC adapter and have the correct charging config
> every time I do attach the AC adapter.
>
> Cheers,
> Peter
>
> Peter Rosin (3):
> power: supply: bq24735: move down bq24735_{en,dis}able_charging
> power: supply: bq24735: configure the charger as part of enabling it
> power: supply: bq24735: always check for AC adapter presence in probe
>
> drivers/power/supply/bq24735-charger.c | 56 ++++++++++++++++------------------
> 1 file changed, 26 insertions(+), 30 deletions(-)
Thanks for your patchset. We are currently in the merge
window and your patchset will appear in linux-next once
4.10-rc1 has been tagged by Linus Torvalds.
Until then I queued it into this branch:
https://git.kernel.org/cgit/linux/kernel/git/sre/linux-power-supply.git/log/?h=for-next-next
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists