regulator: core: add support for active discharge enable/disable property
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 29 Oct 2015 09:06:24 +0000 (14:06 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Mon, 2 Nov 2015 20:18:15 +0000 (12:18 -0800)
commitf77577310d1ec2a102dce47705a06ace585820d3
tree389c58bf07f8bdc6b969a1b438eb82c36f2334ab
parent7a2f1f4a85bce3d2cb065516d59263bf2fbcdc61
regulator: core: add support for active discharge enable/disable property

Add regulator DT property to add support for configuring the rail's
active discharge enable/disable forcefully. If properties are absent
then it will be POR default.

Change-Id: Ia3a99c6e9aec37ef2824e169e1ae99884163bc25
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/824694
(cherry picked from commit eff460b9d82bd634da66625d05451fae5385d80c)
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/825309
GVS: Gerrit_Virtual_Submit
Documentation/devicetree/bindings/regulator/regulator.txt
drivers/regulator/of_regulator.c
include/linux/regulator/machine.h