From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Samuel Ortiz <sameo@linux.intel.com>,
Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6.33] regulator: Implement WM831x BuckWise DC-DC convertor DVS support
Date: Tue, 29 Sep 2009 18:03:42 +0100 [thread overview]
Message-ID: <1254243822.6623.313.camel@odin> (raw)
In-Reply-To: <20090924183814.GA19474@sortiz.org>
On Thu, 2009-09-24 at 20:38 +0200, Samuel Ortiz wrote:
> On Thu, Sep 24, 2009 at 07:27:56PM +0100, Liam Girdwood wrote:
> > On Tue, 2009-09-22 at 08:47 -0700, Mark Brown wrote:
> > > The BuckWise DC-DC convertors in WM831x devices support switching to
> > > a second output voltage using the logic level on one of the device
> > > pins. This is intended to allow rapid voltage switching for uses like
> > > cpufreq, replacing the I2C or SPI write used to configure the voltage
> > > of the regulator with a much faster GPIO status change.
> > >
> > > This is implemented by keeping the DVS voltage configured as the
> > > maximum voltage permitted for the regulator. If a request is made
> > > for the maximum voltage then the GPIO is used to switch to the DVS
> > > voltage, otherwise the normal ON voltage is updated and used. This
> > > follows the idiom used by most cpufreq drivers, which drop the
> > > minimum voltage as the core frequency is dropped but use a constant
> > > maximum - raising the voltage should normally be fast, but lowering
> > > it may be slower.
> > >
> > > Configuration of the DVS MFP on the device should be done externally,
> > > for example via OTP.
> > >
> > > Support is present in the hardware for monitoring the status of the
> > > transition using a second GPIO. This is not currently implemented
> > > but platform data is provided for it - the driver currently assumes
> > > that the device will be configured to transition immediately - but
> > > platform data is provided to reduce merge issues once it is.
> > >
> > > Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> > > ---
> > > drivers/regulator/wm831x-dcdc.c | 207 ++++++++++++++++++++++++++++++++++----
> > > include/linux/mfd/wm831x/pdata.h | 17 +++
> > > 2 files changed, 206 insertions(+), 18 deletions(-)
> > >
> >
> > Looks good to me.
> >
> > Samuel, are you ok with the pdata.h change going through regulator ?
> Yes, sure. Feel free to add my Acked-by if needed.
Applied.
Thanks
Liam
prev parent reply other threads:[~2009-09-29 17:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-22 15:47 [PATCH 2.6.33] regulator: Implement WM831x BuckWise DC-DC convertor DVS support Mark Brown
2009-09-24 18:27 ` Liam Girdwood
2009-09-24 18:38 ` Samuel Ortiz
2009-09-29 17:03 ` Liam Girdwood [this message]
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=1254243822.6623.313.camel@odin \
--to=lrg@slimlogic.co.uk \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.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