regulator: core: add support for configuring turn-on time through constraints
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 23 Sep 2013 10:50:00 +0000 (15:50 +0530)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Tue, 1 Oct 2013 08:35:47 +0000 (13:35 +0530)
commit1625ed8a2b57b43fc40f4f59345ac4832703e6d1
tree767eb81cbedd4d3fcc6e428929ef45b561567135
parentc38bf1b2a039253b167ecc39ba11d829be1a6b9b
regulator: core: add support for configuring turn-on time through constraints

The turn-on time of the regulator depends on the regulator device's
electrical characteristics. Sometimes regulator turn-on time also
depends on the capacitive load on the given platform and it can be
more than the datasheet value.

The driver provides the enable-time as per datasheet.

Add support for configure the enable ramp time through regulator
constraints so that regulator core can take this value for enable
time for that regulator.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 00c877c69ba315d6c565a4df51c71b11e82cdeb8)

Change-Id: I2fa17ec0edcc1a2071f88892f8e15b1ae60009b9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/277822
GVS: Gerrit_Virtual_Submit
(cherry picked from commit dd27579000b7ab44b1e996cdb00327dcdc47b49c)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Documentation/devicetree/bindings/regulator/regulator.txt
drivers/regulator/core.c
drivers/regulator/of_regulator.c
include/linux/regulator/machine.h