regulator: Add input current limit support
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 12 Jun 2015 00:37:06 +0000 (17:37 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jun 2015 12:18:02 +0000 (13:18 +0100)
commit36e4f839de59b6216a16cdf5c1d3263f4dbd9421
tree5cf5ebd741a210f610ec32ae3a1d1d953c553fe6
parent57f66b78860968fc7eddc9ce25f8e57f7e5000bd
regulator: Add input current limit support

Some regulators can limit their input current (typically annotated
as ilim). Add an op (set_input_current_limit) and a DT property +
constraint to support this.

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