[v1,07/11] dt-bindings: regulator: Document new regulator-max-step-microvolt property

Message ID 20181005153638.1886-8-digetx@gmail.com
State Not Applicable
Headers show
Series
  • Continuing the work on coupled regulators
Related show

Commit Message

Dmitry Osipenko Oct. 5, 2018, 3:36 p.m.
Certain hardware may require supply voltage to be changed in steps. Define
new property that allow to describe such hardware.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 Documentation/devicetree/bindings/regulator/regulator.txt | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring Oct. 17, 2018, 1:33 p.m. | #1
On Fri,  5 Oct 2018 18:36:34 +0300, Dmitry Osipenko wrote:
> Certain hardware may require supply voltage to be changed in steps. Define
> new property that allow to describe such hardware.
> 
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
>  Documentation/devicetree/bindings/regulator/regulator.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 

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

Patch

diff --git a/Documentation/devicetree/bindings/regulator/regulator.txt b/Documentation/devicetree/bindings/regulator/regulator.txt
index 9b525b657fca..0c3a243c95df 100644
--- a/Documentation/devicetree/bindings/regulator/regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/regulator.txt
@@ -79,6 +79,8 @@  Optional properties:
 - regulator-coupled-max-spread: Array of maximum spread between voltages of
   coupled regulators in microvolts, each value in the array relates to the
   corresponding couple specified by the regulator-coupled-with property.
+- regulator-max-step-microvolt: Maximum difference between current and target
+  voltages that can be changed safely in a single step.
 
 Deprecated properties:
 - regulator-compatible: If a regulator chip contains multiple