]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: added support for suspend states
authorChunyan Zhang <zhang.chunyan@linaro.org>
Fri, 26 Jan 2018 13:08:43 +0000 (21:08 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jan 2018 14:43:42 +0000 (14:43 +0000)
commitfbb55e464fffd4b1cc545a45059237a509d5e810
tree663013b07ebe85acddbdd01ee1bbbd2ed5d442b3
parentfc34a8d7a6e80eb2c2304f3fb1526e012599ae42
regulator: added support for suspend states

Some systems need to set regulators to specific states when they enter
low power modes, especially around CPUs. There are many of these modes
depending on the particular runtime state.

Currently the regulator consumers are not granted permission to change
suspend state of regulator devices, the constraints are configured at
startup.  In order to allow changes in a vlotage range, we need to add
new properties for voltage range and a flag to give permission to
change the suspend voltage and suspend on/off in suspend mode.

Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/regulator.txt