All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] regulator: pwm: DT: Add ramp delay for exponential voltage transition
@ 2016-11-04 17:37 ` Laxman Dewangan
  0 siblings, 0 replies; 11+ messages in thread
From: Laxman Dewangan @ 2016-11-04 17:37 UTC (permalink / raw)
  To: broonie, robh+dt, mark.rutland
  Cc: linux-kernel, devicetree, Laxman Dewangan, Douglas Anderson,
	Aleksandr Frid

Some PWM regulator has the exponential transition in voltage change as
opposite to fixed slew-rate linear transition on other regulators.
For such PWM regulators, add the property for providing the delay
from DT node.

Add DT binding details of the new property
"pwm-regulator-voltage-ramp-time-us" added for providing voltage
transition delay.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
CC: Douglas Anderson <dianders@chromium.org>
CC: Aleksandr Frid <afrid@nvidia.com>

---
This patch is continuation of discussion on patch
	regulator: pwm: Fix regulator ramp delay for continuous mode
https://patchwork.kernel.org/patch/9216857/
where is it discussed to have separate property for PWM which has
exponential voltage transition.
---
 Documentation/devicetree/bindings/regulator/pwm-regulator.txt | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
index 3aeba9f..a163f42 100644
--- a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
@@ -54,6 +54,16 @@ Optional properties:
 --------------------
 - enable-gpios:		GPIO to use to enable/disable the regulator
 
+- pwm-regulator-voltage-ramp-time-us: Integer, voltage ramp time in
+			microseconds. Some PWM regulator has the exponential
+			transition in voltage change as opposite to fixed
+			slew-rate linear transition on other regulators.
+			For such regulator, this property is used to provide
+			the settling time for voltage change which is same
+			for any voltage change.
+			If PWM regulator supports the fixed slew rate then
+			property "regulator-ramp-delay" should be used.
+
 Any property defined as part of the core regulator binding can also be used.
 (See: ../regulator/regulator.txt)
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-11-15 17:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-04 17:37 [PATCH 1/2] regulator: pwm: DT: Add ramp delay for exponential voltage transition Laxman Dewangan
2016-11-04 17:37 ` Laxman Dewangan
2016-11-04 17:37 ` [PATCH 2/2] regulator: pwm: " Laxman Dewangan
2016-11-04 17:37   ` Laxman Dewangan
2016-11-14 15:48 ` [PATCH 1/2] regulator: pwm: DT: " Rob Herring
2016-11-15 11:42   ` Laxman Dewangan
2016-11-15 11:42     ` Laxman Dewangan
2016-11-15 14:27     ` Rob Herring
2016-11-15 14:27       ` Rob Herring
2016-11-15 17:13       ` Laxman Dewangan
2016-11-15 17:13         ` Laxman Dewangan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.