2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/include/linux/regulator
Mark Brown e8eef82b2c regulator: Provide a selector based set_voltage_sel() operation
Many regulator drivers implement voltage setting by looping through a
table of possible values, normally because the set of available voltages
can't be mapped onto selectors with simple calcuation. Factor out these
loops by providing a variant of set_voltage() which takes a selector rather
than a voltage range as an argument and implementing a loop through the
available selectors in the core.

This is not going to be suitable for use with all devices as when the
regulator voltage can be mapped onto selector values with a simple
calculation the linear scan through the available values will be more
expensive than just doing the calculation, especially for regulators
that provide fine grained voltage control.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2011-01-12 14:33:04 +00:00
..
ab8500.h regulators: Moved define for number of regulators in ab8500 2011-01-12 14:33:02 +00:00
bq24022.h regulator: Allow init data to be supplied for bq24022 2009-03-31 09:56:21 +01:00
consumer.h regulator: Let drivers know when they use the stub API 2010-04-19 13:17:10 +01:00
driver.h regulator: Provide a selector based set_voltage_sel() operation 2011-01-12 14:33:04 +00:00
fixed.h regulator: Add 'start-up time' to fixed voltage regulators 2010-03-03 14:49:23 +00:00
lp3971.h LP3971 PMIC regulator driver (updated and combined version) 2009-06-15 11:18:26 +01:00
lp3972.h Regulator: LP3972 PMIC regulator driver 2010-10-28 22:40:31 +01:00
machine.h regulator: Add option for machine drivers to enable the dummy regulator 2010-10-28 22:40:31 +01:00
max1586.h regulator: fix typos 2009-09-22 13:32:44 +01:00
max8649.h regulator: enable max8649 regulator driver 2010-03-03 14:49:24 +00:00
max8660.h regulator: add driver for MAX8660/8661 2009-12-17 10:27:22 +00:00
max8952.h MAX8952 PMIC Driver Initial Release 2010-10-28 22:40:31 +01:00
tps6507x.h regulator: tps6507x: allow driver to use DEFDCDC{2,3}_HIGH register 2010-07-28 15:09:26 +01:00
userspace-consumer.h regulator: add userspace-consumer driver 2009-06-15 11:18:22 +01:00