]> 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)
commit8e8680f7ee00eb43e0dee14c3a1e77cf5fc8f84f
treefcf591be1d9ec3afd439e8e7d397309649cbf6f6
parent35a4a2e8fd8f56be4d3476489bc4f54e83fa1e3f
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