]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: make regulator voltage be an array to support more states
authorChunyan Zhang <zhang.chunyan@linaro.org>
Fri, 26 Jan 2018 13:08:44 +0000 (21:08 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jan 2018 14:43:45 +0000 (14:43 +0000)
commit62e1bde9641532d6a78cac3766d74b426b216eb5
treefcf591be1d9ec3afd439e8e7d397309649cbf6f6
parentfbb55e464fffd4b1cc545a45059237a509d5e810
regulator: make regulator voltage be an array to support more states

Some regulator consumers would like to make the regulator device
keeping a voltage range output when the system entering into
suspend states.

Making regulator voltage be an array can allow consumers to set voltage
for normal state as well as for suspend states through the same code.

Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
drivers/regulator/internal.h