]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
regulator: DT: Add settling time property for non-linear voltage change
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 4 Apr 2017 13:29:49 +0000 (18:59 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 5 Apr 2017 17:25:10 +0000 (18:25 +0100)
Some regulators (some PWM regulators) have the voltage transition
exponentially. On such cases, the settling time for voltage change
is treated as constant time.

Add DT property for providing the settling time for any level of
voltage change for non-linear voltage change.

signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/regulator.txt

index 6ab5aef619d9fe73c1db7e62fa8c10c5c03d33f9..d18edb075e1c746debc19bf4f9bf7325aef0ecef 100644 (file)
@@ -21,6 +21,9 @@ Optional properties:
   design requires. This property describes the total system ramp time
   required due to the combination of internal ramping of the regulator itself,
   and board design issues such as trace capacitance and load on the supply.
+- regulator-settling-time-us: Settling time, in microseconds, for voltage
+  change if regulator have the constant time for any level voltage change.
+  This is useful when regulator have exponential voltage change.
 - regulator-soft-start: Enable soft start so that voltage ramps slowly
 - regulator-state-mem sub-root node for Suspend-to-RAM mode
   : suspend to memory, the device goes to sleep, but all data stored in memory,