Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1367507

Re: [PATCH] regulator: qcom_spmi: Add slewing delays for all SMPS types

From Stephen Boyd <stephen.boyd@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] regulator: qcom_spmi: Add slewing delays for all SMPS types
Date 2016-03-30 20:10 +0200
Message-ID <risJ5-Lt-25@gated-at.bofh.it> (permalink)
References <riaM9-4u5-1@gated-at.bofh.it> <riprQ-6Lq-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Quoting Georgi Djakov (2016-03-30 07:36:11)
> On 03/30/2016 01:58 AM, Stephen Boyd wrote:
> > Only the FT SMPS type regulators have slewing supported in the
> > driver, but all types of SMPS regulators need the same support.
> > The only difference is that some SMPS regulators don't have a
> > step size and the step delay is typically 20, not 8. Luckily, the
> > step size reads as 0 for the non-FT types, so we can always read
> > that, but we need to detect which type of regulator we're using
> > to figure out what step delay to use. Make these minor
> > adjustments to the slew rate calculations and add support for the
> > delay function to the appropriate regulator ops.
> > 
> > Reported-by: Georgi Djakov <georgi.djakov@linaro.org>
> > Cc: David Collins <collinsd@codeaurora.org>
> > Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
> 
> Thanks for the patch! I have verified it by applying this one
> on top: https://lkml.org/lkml/2016/3/30/381
> 
> Tested-by: Georgi Djakov <georgi.djakov@linaro.org>
> 

Thanks for testing. I'll pick up the rest on the other thread.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] regulator: qcom_spmi: Add slewing delays for all SMPS types Stephen Boyd <stephen.boyd@linaro.org> - 2016-03-30 01:00 +0200
  Re: [PATCH] regulator: qcom_spmi: Add slewing delays for all SMPS  types Mark Brown <broonie@kernel.org> - 2016-03-30 01:10 +0200
  Re: [PATCH] regulator: qcom_spmi: Add slewing delays for all SMPS  types Georgi Djakov <georgi.djakov@linaro.org> - 2016-03-30 16:40 +0200
    Re: [PATCH] regulator: qcom_spmi: Add slewing delays for all SMPS types Stephen Boyd <stephen.boyd@linaro.org> - 2016-03-30 20:10 +0200

csiph-web