A lot of regulator hardware maps selectors on to voltages with a simple
linear mapping function
selector = base + (selector * step size)
Provide off the shelf list_voltage() and map_voltage() operations which
use new min_uV and uV_step members in the regulator_desc to implement
this function.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
|
||
|---|---|---|
| .. | ||
| ab8500.h | ||
| consumer.h | ||
| db8500-prcmu.h | ||
| driver.h | ||
| fixed.h | ||
| gpio-regulator.h | ||
| lp3971.h | ||
| lp3972.h | ||
| machine.h | ||
| max1586.h | ||
| max8649.h | ||
| max8660.h | ||
| max8952.h | ||
| of_regulator.h | ||
| tps6507x.h | ||
| tps62360.h | ||
| tps65090-regulator.h | ||
| userspace-consumer.h | ||