]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: core: Add support for disabling ramp delay
authorYadwinder Singh Brar <yadi.brar@samsung.com>
Sat, 29 Jun 2013 12:51:15 +0000 (18:21 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:27:48 +0000 (11:27 +0100)
commit1653ccf4c52df6a4abe8ec2f33f2cb2896d129ea
tree2238091c98473856a1523b13974ad98815a63156
parentad81f0545ef01ea651886dddac4bef6cec930092
regulator: core: Add support for disabling ramp delay

Some hardwares support disabling ramp delay, so adding ramp_disable flag to
constraints. It will be used to figure out whether ramp_delay in constraints
is explicitly set to zero or its unintialized (zero by default).
And we don't need to call set_voltage_time_sel() for regulators for whom ramp
delay is disabled in constraints.

Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Documentation/devicetree/bindings/regulator/regulator.txt
drivers/regulator/core.c
drivers/regulator/of_regulator.c
include/linux/regulator/machine.h