regulator: Allow for asymmetric settling times
authorMatthias Kaehlcke <mka@chromium.org>
Tue, 16 May 2017 18:43:43 +0000 (11:43 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 17 May 2017 09:49:25 +0000 (10:49 +0100)
commit3ffad468cf1d9825b425733941bdad0d8d20e795
tree8132700ab118a649e9d002c36d941c6c509b5546
parent543853de356b8ce95d6d99757501d9d5c916ca09
regulator: Allow for asymmetric settling times

Some regulators have different settling times for voltage increases and
decreases. To avoid a time penalty on the faster transition allow for
different settings for up- and downward transitions.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Acked-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