From: Sebastian Reichel <sre@kernel.org>
To: Liam Breck <liam@networkimprov.net>
Cc: "Pali Rohár" <pali.rohar@gmail.com>,
linux-pm@vger.kernel.org, "Paul Kocialkowski" <contact@paulk.fr>,
"Liam Breck" <kernel@networkimprov.net>
Subject: Re: [RFC v2 2/5] power: supply: bq27xxx: Add chip IDs for previously shadowed chips
Date: Sat, 12 Aug 2017 14:45:27 -0400 [thread overview]
Message-ID: <20170812184526.v5ewwm2q5vkm7eh4@earth> (raw)
In-Reply-To: <CAKvHMgQciRY+v0prYsfcLUOGcgzz9RRmMawwBMuKF60qC8U4Rg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1581 bytes --]
Hi,
On Sat, Aug 12, 2017 at 10:56:09AM -0700, Liam Breck wrote:
> Hi Sebastian,
>
> On Sat, Aug 12, 2017 at 8:02 AM, Sebastian Reichel <sre@kernel.org> wrote:
> > Hi,
> >
> > On Sun, Aug 06, 2017 at 11:22:13PM -0700, Liam Breck wrote:
> >> From: Liam Breck <kernel@networkimprov.net>
> >>
> >> For the existing feature set, these chips act like ones already listed,
> >> so they had been given false but functional IDs. We will be adding features
> >> which obsolete that shadowing, so the following IDs are added:
> >> BQ2752X, 531, 542, 546, 742, 425, 441, 621
> >
> > Patch looks ok, but the patch description does not match the patch?
>
> Does this clarify it?
>
> For the existing driver features, the chips below act like others already ID'd,
> so they had been given false but functional IDs. We will be adding features
> which obsolete that ID shadowing, so the following IDs are added:
> BQ2752X, 531, 542, 546, 742, 425, 441, 621
>
> >> Chip-specific features are now tracked by BQ27XXX_O_* flags in di->opts.
> >>
> >> No functional changes to the driver.
I was too tired when I read that yesterday in the airplane. I'm
fine with both texts and throw in a third suggestion:
Add explicit chip IDs for some chips, that are currently using a
compatible chip ID. This is required due to incompatible advanced
features, that will be added later. To keep chip handling simple,
the chip features are now tracked using flags in di->opts. Driver
functionality is not supposed to change.
Choose the one you like most.
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-08-12 18:45 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-07 6:22 [RFC v2 0/5] bq27xxx_battery data memory update Liam Breck
2017-08-07 6:22 ` [RFC v2 1/5] power: supply: bq27xxx: Create single chip data table Liam Breck
2017-08-09 16:08 ` Sebastian Reichel
2017-08-12 0:52 ` Liam Breck
2017-08-12 16:39 ` Sebastian Reichel
2017-08-07 6:22 ` [RFC v2 2/5] power: supply: bq27xxx: Add chip IDs for previously shadowed chips Liam Breck
2017-08-12 15:02 ` Sebastian Reichel
2017-08-12 17:56 ` Liam Breck
2017-08-12 18:45 ` Sebastian Reichel [this message]
2017-08-07 6:22 ` [RFC v2 3/5] power: supply: bq27xxx: Enable data memory update for certain chips Liam Breck
2017-08-12 16:04 ` Sebastian Reichel
2017-08-12 18:00 ` Liam Breck
2017-08-12 18:57 ` Sebastian Reichel
2017-08-07 6:22 ` [RFC v2 4/5] power: supply: bq27xxx: Flag identical chip data when in debug mode Liam Breck
2017-08-12 16:25 ` Sebastian Reichel
2017-08-12 18:35 ` Liam Breck
2017-08-12 18:40 ` Liam Breck
2017-08-07 6:22 ` [RFC v2 5/5] power: supply: bq27xxx: Remove duplicate chip data arrays Liam Breck
2017-08-12 16:22 ` Sebastian Reichel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170812184526.v5ewwm2q5vkm7eh4@earth \
--to=sre@kernel.org \
--cc=contact@paulk.fr \
--cc=kernel@networkimprov.net \
--cc=liam@networkimprov.net \
--cc=linux-pm@vger.kernel.org \
--cc=pali.rohar@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox