From: Krzysztof Kozlowski <k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
To: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Dmitry Eremin-Solenikov
<dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Samuel Ortiz <sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
Liam Girdwood <lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
Ian Campbell
<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
Kyungmin Park
<kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
Marek Szyprowski
<m.szyprowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
Bartlomiej Zolnierkiewicz
<b.zolnierkie-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
Anton Vorontsov <anton-9xeibp6oKSgdnm+yROfE0A@public.gmane.org>
Subject: Re: [RESEND PATCH v3 1/6] charger: max14577: Add support for MAX77836 charger
Date: Wed, 27 Aug 2014 16:01:29 +0200 [thread overview]
Message-ID: <1409148089.25748.5.camel@AMDC1943> (raw)
In-Reply-To: <20140827135218.GG6364@lee--X1>
On śro, 2014-08-27 at 14:52 +0100, Lee Jones wrote:
> On Wed, 27 Aug 2014, Krzysztof Kozlowski wrote:
>
> > Add support for MAX77836 charger to the max14577 driver. The MAX77836
> > charger is almost the same as 14577 model except:
> > - No dead-battery detection;
> > - Support for special charger (like in MAX77693);
> > - Support for DX over-voltage protection (like in MAX77693);
> > - Lower values of charging current (two times lower current for
> > slow/fast charge, much lower EOC current);
> > - Slightly different values in ChgTyp field of STATUS2 register. On
> > MAX14577 0x6 is reserved and 0x7 dead battery. On the MAX77836 the
> > 0x6 means special charger and 0x7 is reserved. Regardless of these
> > differences the driver maps them to one enum max14577_muic_charger_type.
> >
> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> > Cc: Kyungmin Park <kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> > Cc: Anton Vorontsov <anton-9xeibp6oKSgdnm+yROfE0A@public.gmane.org>
> > Cc: Dmitry Eremin-Solenikov <dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > Cc: David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
> > Acked-by: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> > ---
> > drivers/power/Kconfig | 4 +-
> > drivers/power/max14577_charger.c | 77 +++++++++++++++++++++++++++++-------
> > include/linux/mfd/max14577-private.h | 54 ++++++++++++++++++-------
>
> Not quite so important here, but better to break these out too. We
> can arrange ourselves to that the set can go in together. Just make
> sure it's bisectable.
Are you sure? This will result in a patch which adds some
code/symbols/defines used only by next (future) patch. Independent apply
of such patch still won't make any sense because there won't be any user
of this code.
Best regards,
Krzysztof
next prev parent reply other threads:[~2014-08-27 14:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-27 13:31 [RESEND PATCH v3 0/6] charger/mfd: max14577: Add support for MAX77836 Krzysztof Kozlowski
2014-08-27 13:31 ` [RESEND PATCH v3 1/6] charger: max14577: Add support for MAX77836 charger Krzysztof Kozlowski
[not found] ` <1409146282-25075-2-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-08-27 13:52 ` Lee Jones
2014-08-27 14:01 ` Krzysztof Kozlowski [this message]
2014-08-27 17:04 ` Lee Jones
2014-08-27 13:31 ` [RESEND PATCH v3 2/6] regulator/mfd: max14577: Export symbols for calculating charger current Krzysztof Kozlowski
2014-08-27 13:31 ` [RESEND PATCH v3 3/6] charger: max14577: Configure battery-dependent settings from DTS and sysfs Krzysztof Kozlowski
2014-08-27 13:50 ` Lee Jones
2014-08-27 13:55 ` Krzysztof Kozlowski
2014-08-27 17:05 ` Lee Jones
2014-08-27 13:31 ` [RESEND PATCH v3 4/6] power: max17040: Add ID for MAX77836 Fuel Gauge block Krzysztof Kozlowski
2014-08-27 13:31 ` [RESEND PATCH v3 5/6] devicetree: mfd: max14577: Add device tree bindings document Krzysztof Kozlowski
[not found] ` <1409146282-25075-1-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-08-27 13:31 ` [RESEND PATCH v3 6/6] Documentation: charger: max14577: Document exported sysfs entry Krzysztof Kozlowski
-- strict thread matches above, loose matches on Subject: below --
2014-07-22 7:41 [RESEND PATCH v3 0/6] charger/mfd: max14577: Add support for MAX77836 Krzysztof Kozlowski
2014-07-22 7:41 ` [RESEND PATCH v3 1/6] charger: max14577: Add support for MAX77836 charger Krzysztof Kozlowski
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=1409148089.25748.5.camel@AMDC1943 \
--to=k.kozlowski-sze3o3uu22jbdgjk7y7tuq@public.gmane.org \
--cc=anton-9xeibp6oKSgdnm+yROfE0A@public.gmane.org \
--cc=b.zolnierkie-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
--cc=kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=m.szyprowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).