]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: s2mps11: Convert ramp rate to uV/us and set default ramp rate
authorYadwinder Singh Brar <yadi.brar@samsung.com>
Mon, 24 Jun 2013 11:20:55 +0000 (16:50 +0530)
committerMark Brown <broonie@linaro.org>
Wed, 3 Jul 2013 17:51:40 +0000 (18:51 +0100)
commit405e775acb799e221fb12b7aa40c24df7d7d9327
tree356d06a65452d705c84622ec66ae35b7f79537a4
parent2469b8da2ba98a6518953f7681f47f33fc00fa26
regulator: s2mps11: Convert ramp rate to uV/us and set default ramp rate

This patch makes driver to use uV/us as units of ramp_delay. It makes driver
in compliance with regulator framework and make ramp rate precise.

This patch also sets default ramp rate in regulator descriptor which can be
used in case if case ramp rate is not set in regulator constraints.

Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/s2mps11.c
include/linux/mfd/samsung/s2mps11.h