]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: core: Add support for active-discharge configuration
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 2 Mar 2016 10:54:46 +0000 (16:24 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 2 Mar 2016 14:13:05 +0000 (23:13 +0900)
commit670666b9e0aff40c65d8061a2f53e79eee238685
tree04660dbf7aa36d14372c31d58a6647af77c94415
parentbd667d40a999e35c270e424b6d550410cb2c6d06
regulator: core: Add support for active-discharge configuration

Add support to enable/disable active discharge of regulator via
machine constraints. This configuration is done when setting
machine constraint during regulator register and if regulator
driver implemented the callback ops.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
drivers/regulator/of_regulator.c
include/linux/regulator/driver.h
include/linux/regulator/machine.h