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


Groups > linux.kernel > #1615427

Re: [PATCH v3] regulator: Add driver for voltage controlled regulators

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3] regulator: Add driver for voltage controlled regulators
Date 2017-04-03 19:10 +0200
Message-ID <tsdEm-1ir-13@gated-at.bofh.it> (permalink)
References <trbOh-19y-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Mar 31, 2017 at 01:50:35PM -0700, Matthias Kaehlcke wrote:
> The output voltage of a voltage controlled regulator can be controlled
> through the voltage of another regulator. The current version of this
> driver assumes that the output voltage is a linear function of the control
> voltage.
> 
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> ---
> Changes in v3:
> - Pre-calculate limits for OVP-safe downward transitions with a discrete
>   control regulator
> - Use regulator_get_linear_step() and regulator_count_voltages() to
>   determine if the control regulator is continuous or discrete
> - Changed some log messages to start with lowercase character for
>   consistency
> - Misc formatting fixes
> 
> Changes in v2:
> - Don't configure control regulator as supply
> - Added enable/disable ops to turn control regulator on/off
> - Use regulator_has_continuous_voltage_range() to determine if control
>   regulator is continuous or discrete
> - Use regulator-min/max-microvolt as output voltage range
> - Updated and fixed example in DT bindings
> - Updated commit message
> 
>  .../devicetree/bindings/regulator/vctrl.txt        |  50 ++

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

>  drivers/regulator/Kconfig                          |   7 +
>  drivers/regulator/Makefile                         |   1 +
>  drivers/regulator/vctrl-regulator.c                | 553 +++++++++++++++++++++
>  4 files changed, 611 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/regulator/vctrl.txt
>  create mode 100644 drivers/regulator/vctrl-regulator.c

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


Thread

[PATCH v3] regulator: Add driver for voltage controlled regulators Matthias Kaehlcke <mka@chromium.org> - 2017-03-31 23:00 +0200
  Re: [PATCH v3] regulator: Add driver for voltage controlled  regulators Rob Herring <robh@kernel.org> - 2017-04-03 19:10 +0200
  Re: [PATCH v3] regulator: Add driver for voltage controlled  regulators Mark Brown <broonie@kernel.org> - 2017-04-06 20:30 +0200
    Re: [PATCH v3] regulator: Add driver for voltage controlled  regulators Matthias Kaehlcke <mka@chromium.org> - 2017-04-07 20:50 +0200

csiph-web