[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160916122840.GA3388@rob-hp-laptop>
Date: Fri, 16 Sep 2016 07:28:40 -0500
From: Rob Herring <robh@...nel.org>
To: Matthias Kaehlcke <mka@...omium.org>
Cc: Mark Brown <broonie@...nel.org>, lgirdwood@...il.com,
Douglas Anderson <dianders@...omium.org>,
briannorris@...omium.org, javier@...hile0.org,
mark.rutland@....com, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: [PATCH v4 3/4] regulator: Add support for a fixed delay after
voltage increases
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@...omium.org>
> Signed-off-by: Douglas Anderson <dianders@...omium.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@...nel.org>
Powered by blists - more mailing lists