linux-xiaomi-chiron/include/linux/regulator
Mark Brown de1dd9fd21 regulator: core: Provide hints to the core about optional supplies
While the majority of supplies on devices are mandatory and can't be
physically omitted for electrical reasons some devices do have optional
supplies and need to know if they are missing, MMC being the most common
of these.

Currently the core accurately reports all errors when regulators are
requested since it does not know if the supply is one that must be provided
even if by a regulator software does not know about or if it is one that
may genuinely be disconnected. In order to allow this behaviour to be
changed and stub regulators to be provided in the former case add a new
regulator request function regulator_get_optional() which provides a hint
to the core that the regulator may genuinely not be connected.

Currently the implementation is identical to the current behaviour, future
patches will add support in the core for returning stub regulators in the
case where normal regulator_get() fails and the board has requested it.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Chris Ball <cjb@laptop.org>
2013-07-31 09:56:39 +01:00
..
ab8500.h regulator: ab8500-ext: Register as a device in its own right 2013-06-11 12:50:00 +01:00
consumer.h regulator: core: Provide hints to the core about optional supplies 2013-07-31 09:56:39 +01:00
db8500-prcmu.h mach-ux500: voltage domain regulators for DB8500 2011-05-24 22:20:23 +02:00
driver.h Merge remote-tracking branch 'regulator/topic/gpio' into v3.9-rc8 2013-04-28 02:13:40 +01:00
fan53555.h regulator: Fairchild fan53555 support 2012-09-10 09:55:22 +08:00
fixed.h Merge branch 'regulator-drivers' into regulator-next 2012-07-22 19:32:00 +01:00
gpio-regulator.h regulator: Add driver for gpio-controlled regulators 2011-10-09 12:36:21 +01:00
lp872x.h regulator: add new regulator driver for lp872x 2012-06-19 23:14:29 +01:00
lp3971.h
lp3972.h Regulator: LP3972 PMIC regulator driver 2010-10-28 22:40:31 +01:00
machine.h regulator: core: Support bypass mode 2012-09-10 11:25:10 +08:00
max1586.h
max8649.h regulator: enable max8649 regulator driver 2010-03-03 14:49:24 +00:00
max8660.h
max8952.h regulator: max8952: Add Device Tree support 2013-04-05 11:20:52 +01:00
max8973-regulator.h regulator: max8973: add regulator driver support 2012-11-19 17:03:11 +09:00
of_regulator.h regulator: Add generic DT parsing for regulators 2012-05-04 13:25:15 +01:00
tps6507x.h regulator: tps6507x: allow driver to use DEFDCDC{2,3}_HIGH register 2010-07-28 15:09:26 +01:00
tps51632-regulator.h regulator: tps51632: Add tps51632 regulator driver 2012-10-15 11:54:42 +09:00
tps62360.h regulator: tps62360: support force PWM mode via regulator mode 2012-05-14 18:03:04 +01:00
userspace-consumer.h