WSL2-Linux-Kernel/include/linux/regulator
Chunyan Zhang f7efad10b5
regulator: add PM suspend and resume hooks
In this patch, consumers are allowed to set suspend voltage, and this
actually just set the "uV" in constraint::regulator_state, when the
regulator_suspend_late() was called by PM core through callback when
the system is entering into suspend, the regulator device would act
suspend activity then.

And it assumes that if any consumer set suspend voltage, the regulator
device should be enabled in the suspend state.  And if the suspend
voltage of a regulator device for all consumers was set zero, the
regulator device would be off in the suspend state.

This patch also provides a new function hook to regulator devices for
resuming from suspend states.

Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-01-26 14:43:55 +00:00
..
ab8500.h
act8865.h
arizona-ldo1.h regulator: arizona-ldo1: Move pdata into a separate structure 2017-04-25 16:36:32 +01:00
arizona-micsupp.h regulator: arizona-micsupp: Move pdata into a separate structure 2017-04-25 16:36:20 +01:00
consumer.h regulator: core: Add new notification for enabling of regulator 2017-03-24 19:13:42 +00:00
da9211.h regulator: da9211: update for supporting da9223/4/5 2017-10-31 11:01:14 +00:00
db8500-prcmu.h
driver.h regulator: add PM suspend and resume hooks 2018-01-26 14:43:55 +00:00
fan53555.h
fixed.h
gpio-regulator.h
lp872x.h
lp3971.h
lp3972.h
machine.h regulator: add PM suspend and resume hooks 2018-01-26 14:43:55 +00:00
max1586.h
max8649.h
max8660.h
max8952.h
max8973-regulator.h
mt6311.h
mt6323-regulator.h
mt6380-regulator.h regulator: mt6380: Add support for MT6380 2017-08-15 12:50:48 +01:00
mt6397-regulator.h
of_regulator.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pfuze100.h regulator: pfuze100-regulator: add coin support 2017-03-13 16:15:42 +00:00
tps6507x.h
tps51632-regulator.h
tps62360.h
userspace-consumer.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00