[PATCH 1/3] olpc-battery: add support for CHARGE_FULL_DESIGN
dilinger at queued.net
Fri Dec 10 19:58:49 EST 2010
On Sat, 11 Dec 2010 00:41:20 +0000
David Woodhouse <dwmw2 at infradead.org> wrote:
> On Fri, 2010-12-10 at 16:38 -0800, Andres Salomon wrote:
> > It there is, it's not at all clear. The values are fetched from the
> > EC, which get them from the EEPROM.
> If the EC knows them, can't we ask the EC rather than pulling numbers
> our of our arse in the kernel?
Sorry, i meant the battery manufacturer/type info is fetched from the
EC (and the DT doesn't appear to have *that* information, much less
the magic values that this patch uses).
Pgf or Richard can probably tell us if the magic numbers can be derived
from the EC.
More information about the Devel