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>,
Jenny Tc <jenny.tc@intel.com>
Subject: Re: [RESEND PATCH v3 3/6] charger: max14577: Configure battery-dependent settings from DTS and sysfs
Date: Wed, 27 Aug 2014 18:05:03 +0100 [thread overview]
Message-ID: <20140827170503.GD24579@lee--X1> (raw)
In-Reply-To: <1409147725.25748.1.camel@AMDC1943>
On Wed, 27 Aug 2014, Krzysztof Kozlowski wrote:
> On śro, 2014-08-27 at 14:50 +0100, Lee Jones wrote:
> > On Wed, 27 Aug 2014, Krzysztof Kozlowski wrote:
> >
> > > Remove hard-coded values for:
> > > - Fast Charge current,
> > > - End Of Charge current,
> > > - Fast Charge timer,
> > > - Overvoltage Protection Threshold,
> > > - Battery Constant Voltage,
> > > and use DTS or sysfs to configure them. This allows using the max14577 charger
> > > driver with different batteries.
> > >
> > > Now the charger driver requires valid configuration data from DTS. In
> > > case of wrong configuration data it fails during probe. Patch adds
> > > of_compatible to the charger mfd cell in MFD driver core.
> > >
> > > The fast charge timer is configured through sysfs entry.
> > >
> > > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> > > Cc: Kyungmin Park <kyungmin.park@samsung.com>
> > > Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> > > Cc: David Woodhouse <dwmw2@infradead.org>
> > > Cc: Jenny Tc <jenny.tc@intel.com>
> > > Cc: Mark Rutland <mark.rutland@arm.com>
> > > Acked-by: Lee Jones <lee.jones@linaro.org>
> > > ---
> > > drivers/mfd/max14577.c | 5 +-
> >
> > Hmm... not sure why I Acked this. The code looks okay, but can you
> > break out the MFD changed into a separate patch please? You can add
> > my Ack to the broken out patch though.
>
> Sure, I'll split it however the compatible here in mfd_cell makes sense
> only with this patch.
That's completely fine.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2014-08-27 17:05 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
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 [this message]
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 3/6] charger: max14577: Configure battery-dependent settings from DTS and sysfs 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=20140827170503.GD24579@lee--X1 \
--to=lee.jones@linaro.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=jenny.tc@intel.com \
--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).