OpenCloudOS-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 regulator: act8865: Pass of_node via act8865_regulator_data 2016-03-28 12:34:20 -07:00
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 regulator: lp872x: Add enable GPIO pin support 2016-02-05 18:57:09 +00:00
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 regulator: max8973: add support for junction thermal warning 2016-04-13 17:19:26 +01:00
mt6311.h regulator: mt6311: Add support for mt6311 regulator 2015-07-24 12:30:49 +01:00
mt6323-regulator.h regulator: mt6323: Add support for MT6323 regulator 2016-07-18 13:46:23 +01:00
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