regulator: core: add support for configuring turn-on time through constraints
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 18 Sep 2013 12:48:02 +0000 (18:18 +0530)
committerMark Brown <broonie@linaro.org>
Wed, 18 Sep 2013 16:13:02 +0000 (17:13 +0100)
commit00c877c69ba315d6c565a4df51c71b11e82cdeb8
tree8b5dcf0d475476da3ee8c2cb310e9bce34e6d30a
parent272b98c6455f00884f0350f775c5342358ebb73f
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>
Documentation/devicetree/bindings/regulator/regulator.txt
drivers/regulator/core.c
drivers/regulator/of_regulator.c
include/linux/regulator/machine.h