regulator: add support for ramp delay
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 5 Feb 2013 12:26:03 +0000 (17:26 +0530)
committerRiham Haidar <rhaidar@nvidia.com>
Tue, 5 Feb 2013 22:58:59 +0000 (14:58 -0800)
commit13afbff407cea4fc4dcc6166bd711e336fd55695
treef1a5e45f4173826c04b5c66ef4121359a7fc3173
parent4a930c48aa5b26878a0efd7f80814b20d6100f30
regulator: add support for ramp delay

Add support for ramp delay which can be configured:
- by passing value from constraints.
- by initialising descriptor.

Also add generic API to provide ramp delay support function.

Change-Id: If22880672aa5cbdf930dd010e4b05c3083028e0b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/197459
Reviewed-by: Automatic_Commit_Validation_User
drivers/regulator/core.c
include/linux/regulator/driver.h
include/linux/regulator/machine.h