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


Groups > linux.kernel > #1484943

Re: [PATCH v4 3/4] regulator: Add support for a fixed delay after voltage increases

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v4 3/4] regulator: Add support for a fixed delay after voltage increases
Date 2016-09-16 14:30 +0200
Message-ID <si0rf-4Fp-21@gated-at.bofh.it> (permalink)
References <setUS-61L-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Sep 06, 2016 at 12:05:04PM -0700, Matthias Kaehlcke wrote:
> The target voltage isn't 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 property
> "regulator-settle-time-up-us" which allows to specify a fixed delay
> after a voltage increase.
> 
> We don't add an option of a fixed delay on the way down for now because
> the way down is probably modelled best with a ramp rate, not a fixed
> delay.
> 
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
> 
> ---
> Changes in v4:
> - Moved from PWM regulator to regulator core
> - Added 'regulator' prefix to device tree property
> 
>  .../devicetree/bindings/regulator/regulator.txt    |  2 ++
>  drivers/regulator/core.c                           | 24 +++++++++++++---------
>  drivers/regulator/of_regulator.c                   |  4 ++++
>  include/linux/regulator/machine.h                  |  2 ++
>  4 files changed, 22 insertions(+), 10 deletions(-)

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v4 3/4] regulator: Add support for a fixed delay after  voltage increases Rob Herring <robh@kernel.org> - 2016-09-16 14:30 +0200

csiph-web