regulator: Add settling time for non-linear voltage transition
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 4 Apr 2017 13:29:50 +0000 (18:59 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 5 Apr 2017 17:25:10 +0000 (18:25 +0100)
commitd6c1dc3f52e3a65f35c58433ba57d14c0bad902f
tree9b0d994afe52df7445db81c207fe922842d6f1c4
parentcfd2cedb482ae29ce13a3db46cc24f0c082ca9cf
regulator: Add settling time for non-linear voltage transition

Some regulators (some PWM regulators) have the voltage transition
non-linear i.e. exponentially. On such cases, the settling time
for voltage transition can not be presented in the voltage-ramp-delay.

Add new property for non-linear voltage transition and handle this
in getting the voltage settling time.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
drivers/regulator/of_regulator.c
include/linux/regulator/machine.h