]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Add over current protection (OCP) support
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 17 Jul 2015 21:41:54 +0000 (14:41 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jul 2015 17:28:46 +0000 (18:28 +0100)
commit082d2da13761fae85e841cf87831a9e3b87ca45c
tree6b9e16f35e605a1b23386be578df569b599e978b
parent9f982bb1128a7f4215b5eb0c7b858c42c74a38d9
regulator: Add over current protection (OCP) support

Some regulators can automatically shut down when they detect an
over current event. Add an op (set_over_current_protection) and a
DT property + constraint to support this capability.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/regulator.txt
drivers/regulator/core.c
drivers/regulator/of_regulator.c
include/linux/regulator/driver.h
include/linux/regulator/machine.h