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


Groups > linux.kernel > #1490242

Re: [PATCH v5 5/6] regulator: core: Add support for a fixed delay after voltage changes

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v5 5/6] regulator: core: Add support for a fixed delay after voltage changes
Date 2016-09-23 17:20 +0200
Message-ID <skAqB-5wp-29@gated-at.bofh.it> (permalink)
References <shlHs-3jX-7@gated-at.bofh.it> <shlHs-3jX-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Sep 14, 2016 at 09:52:09AM -0700, Matthias Kaehlcke wrote:
> The target voltage is not necessarily reached inmediately after
> requesting a regulator to change the voltage. In some cases the
> ramp_delay can be used to calculate the stabilisation time, in others
> there is no direct relationship between the delta in the voltage and
> the stabilisation time. This change introduces the device tree properties
> "regulator-settle-time-up-us"/"regulator-settle-time-down-us" which
> allow to specify a fixed delay after a voltage increase or decrease.
> 
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> ---
> Changes in v5:
> - Added support for delay on voltage decreases
> - Don't skip set_voltage_time op if no settle time and ramp delay
> 
>  .../devicetree/bindings/regulator/regulator.txt        |  4 ++++

Acked-by: Rob Herring <robh@kernel.org>

>  drivers/regulator/core.c                               | 18 +++++++++++-------
>  drivers/regulator/of_regulator.c                       |  8 ++++++++
>  include/linux/regulator/machine.h                      |  4 ++++
>  4 files changed, 27 insertions(+), 7 deletions(-)

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


Thread

[PATCH v5 5/6] regulator: core: Add support for a fixed delay after voltage changes Matthias Kaehlcke <mka@chromium.org> - 2016-09-14 19:00 +0200
  Re: [PATCH v5 5/6] regulator: core: Add support for a fixed delay  after voltage changes Rob Herring <robh@kernel.org> - 2016-09-23 17:20 +0200

csiph-web