[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56942344.9070609@ti.com>
Date: Mon, 11 Jan 2016 15:48:52 -0600
From: "Andrew F. Davis" <afd@...com>
To: Pavel Machek <pavel@....cz>
CC: <pali.rohar@...il.com>, <sre@...ian.org>, <sre@...g0.de>,
kernel list <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
<linux-omap@...r.kernel.org>, <tony@...mide.com>,
<khilman@...nel.org>, <aaro.koskinen@....fi>,
<ivo.g.dimitrov.75@...il.com>, <patrikbachan@...il.com>,
<serge@...lyn.com>, <a.hajda@...sung.com>
Subject: Re: /sys/class/power_supply/bq27200-0/capacity changed meaning
between 4.1 and 4.4?
On 01/11/2016 03:42 PM, Pavel Machek wrote:
> Hi!
>
>>> Did /sys/class/power_supply/bq27200-0/capacity change meaning between
>>> 4.1 and 4.4?
>
>> There was a resent overhaul of this driver and a lot of code is
>> vestigial as you have seen. I've been meaning to continue
>> cleaning it up, my next step would probably to bring up regmap
>
> Ok, 1wire is probably reasonable approach. But we have an regression
> between 4.1 and 4.4, and to debug it is probably by reading code.
>
> I can't prove you caused the regression, but you basically rewrote the
> driver, so it should be easier for you to spot the bug.
>
Makes sense.
> n900 has this variant:
>
> bq27200: bq27200@55 {
> compatible = "ti,bq27200";
> reg = <0x55>;
> };
>
Hmmm, not sure if I have this one on hand, I'll see if I can find an
n900 around here (they seem to be pretty popular around here for testing
(had a lot of TI parts)).
> Will you try?
>
> If not, tell me, and I can do it, but it will involve a lot of swaring...
>
I'll give it a look over.
> Thanks,
> Pavel
>
Powered by blists - more mailing lists