linux/drivers/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
..
88pm8607.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
ab3100.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
ab8500.c regulators: Removed macros for initialization of ab8500 regulators 2011-01-12 14:33:03 +00:00
ad5398.c
bq24022.c
core.c regulator: Provide a selector based set_voltage_sel() operation 2011-01-12 14:33:04 +00:00
da903x.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
dummy.c
dummy.h
fixed.c
isl6271a-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
Kconfig regulator: Allow modular build of mc13xxx-core 2011-01-12 14:33:03 +00:00
lp3971.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
lp3972.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
Makefile regulator: support PMIC mc13892 2011-01-12 14:33:03 +00:00
max1586.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8649.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8660.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8925-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8952.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8998.c regulator: Fix prototype for MAX8998 buck set_voltage() 2011-01-12 14:33:01 +00:00
mc13xxx-regulator-core.c regulator: Allow modular build of mc13xxx-core 2011-01-12 14:33:03 +00:00
mc13xxx.h make mc13783 regulator code generic 2011-01-12 14:33:03 +00:00
mc13783-regulator.c make mc13783 regulator code generic 2011-01-12 14:33:03 +00:00
mc13892-regulator.c regulator: support PMIC mc13892 2011-01-12 14:33:03 +00:00
pcap-regulator.c regulator: Fix typo in PCAP regulator_set_voltage() 2011-01-12 14:33:00 +00:00
pcf50633-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
tps6507x-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
tps6524x-regulator.c regulator: add driver for tps6524x regulator 2011-01-12 14:33:02 +00:00
tps6586x-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
tps65023-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
twl-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
userspace-consumer.c
virtual.c
wm831x-dcdc.c regulator: Convert WM831x drivers to use get_voltage_sel() 2011-01-12 14:33:02 +00:00
wm831x-isink.c
wm831x-ldo.c regulator: Convert WM831x drivers to use get_voltage_sel() 2011-01-12 14:33:02 +00:00
wm8350-regulator.c regulator: Convert WM835x to use get_voltage_sel() 2011-01-12 14:33:04 +00:00
wm8400-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
wm8994-regulator.c regulator: Convert WM8994 to use get_voltage_sel() 2011-01-12 14:33:04 +00:00