linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Sebastian Reichel <sre@kernel.org>,
	Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>,
	linux-kernel@vger.kernel.org, linux-api@vger.kernel.org,
	linux-pm@vger.kernel.org, Samuel Ortiz <sameo@linux.intel.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	Anton Vorontsov <anton@enomsg.org>
Subject: Re: [RESEND PATCH v3 1/6] charger: max14577: Add support for MAX77836 charger
Date: Wed, 27 Aug 2014 18:04:16 +0100	[thread overview]
Message-ID: <20140827170416.GC24579@lee--X1> (raw)
In-Reply-To: <1409148089.25748.5.camel@AMDC1943>

On Wed, 27 Aug 2014, Krzysztof Kozlowski wrote:

> 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@samsung.com>
> > > Cc: Kyungmin Park <kyungmin.park@samsung.com>
> > > Cc: Anton Vorontsov <anton@enomsg.org>
> > > Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> > > Cc: David Woodhouse <dwmw2@infradead.org>
> > > Acked-by: Lee Jones <lee.jones@linaro.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.

That's fine.  I take in lots of patches which do nothing more than
adds/updates infrastructure.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2014-08-27 17:04 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
2014-08-27 17:04         ` Lee Jones [this message]
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=20140827170416.GC24579@lee--X1 \
    --to=lee.jones@linaro.org \
    --cc=anton@enomsg.org \
    --cc=b.zolnierkie@samsung.com \
    --cc=broonie@kernel.org \
    --cc=dbaryshkov@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=k.kozlowski@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=sre@kernel.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).