linux/drivers/regulator
Axel Lin ad02e84687 regulator: palmas: Return raw register values as the selectors in [get|set]_voltage_sel
Don't adjust the selector in [get|set]_voltage_sel, fix it in list_voltage() instead.

For smps*(except smps10), the vsel reg-value and voltage mapping as below:

reg-value       volt (uV) ( Assume RANGE is x1 )
0               0
1               500000
2               500000
3               500000
4               500000
5               500000
6               500000 (0.49V + 1 * 0.01V) * RANGE
7               510000 (0.49V + 2 * 0.01V) * RANGE
8               520000 (0.49V + 3 * 0.01V) * RANGE
9               530000 (0.49V + 4 * 0.01V) * RANGE
....

The linear mapping is start from selector 6.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-12-06 15:20:52 +09:00
..
88pm8607.c mfd: 88pm860x: Device tree support 2012-10-02 11:43:13 +02:00
aat2870-regulator.c regulator: aat2870: Don't explicitly initialise the first field 2012-09-10 15:34:36 +08:00
ab3100.c MFD bits for the 3.7 merge window. 2012-10-05 12:01:30 +09:00
ab8500.c regulator: ab8500: provide per-regulator shift 2012-08-28 11:00:30 -07:00
ad5398.c
anatop-regulator.c MFD bits for the 3.7 merge window. 2012-10-05 12:01:30 +09:00
arizona-ldo1.c Merge remote-tracking branches 'regulator/topic/core', 'regulator/topic/bypass', 'regulator/topic/tol', 'regulator/topic/drivers' and 'regulator/topic/tps6586x' into regulator-next 2012-09-28 14:45:07 +01:00
arizona-micsupp.c regulator: arizona-micsupp: Support get/set bypass 2012-09-10 11:25:12 +08:00
core.c Merge remote-tracking branches 'regulator/fix/gpio', 'regulator/fix/put' and 'regulator/fix/supp-volt' into tmp 2012-11-15 11:16:02 +09:00
da903x.c
da9052-regulator.c regulator: da9052: set_current_limit should select the maximum current in specific range 2012-08-28 11:00:26 -07:00
db8500-prcmu.c
dbx500-prcmu.c
dbx500-prcmu.h
dummy.c
dummy.h
fan53555.c regulator: fan53555: remove vsel_max not used 2012-09-10 15:58:01 +08:00
fixed-helper.c
fixed.c
gpio-regulator.c
isl6271a-regulator.c regulator: isl6271a: Remove get_voltage implementation for isl_fixed_ops 2012-08-28 11:00:27 -07:00
Kconfig MFD bits for the 3.7 merge window. 2012-10-05 12:01:30 +09:00
lp872x.c regulator: lp872x: remove unnecessary function 2012-09-06 07:53:03 +08:00
lp3971.c
lp3972.c
lp8788-buck.c
lp8788-ldo.c
Makefile regulator: Fairchild fan53555 support 2012-09-10 09:55:22 +08:00
max1586.c
max8649.c
max8660.c
max8907-regulator.c regulator: max8907: Add MODULE_ALIAS 2012-08-28 11:00:30 -07:00
max8925-regulator.c mfd: max8925: Remove array in regulator platform data 2012-09-19 12:39:13 +02:00
max8952.c
max8997.c
max8998.c
max77686.c
mc13xxx-regulator-core.c regulator: mc13xxx: Remove get_voltage implementation for single voltage regulators 2012-08-28 11:00:27 -07:00
mc13xxx.h regulator: mc13xxx: Remove get_voltage implementation for single voltage regulators 2012-08-28 11:00:27 -07:00
mc13783-regulator.c regulator: mc13783: add regulators sw1x and sw2x 2012-08-28 11:00:30 -07:00
mc13892-regulator.c regulator: mc13xxx: Remove get_voltage implementation for single voltage regulators 2012-08-28 11:00:27 -07:00
of_regulator.c regulator: deprecate regulator-compatible DT property 2012-09-25 13:44:47 +01:00
palmas-regulator.c regulator: palmas: Return raw register values as the selectors in [get|set]_voltage_sel 2012-12-06 15:20:52 +09:00
pcap-regulator.c
pcf50633-regulator.c
rc5t583-regulator.c
s2mps11.c
s5m8767.c
tps6105x-regulator.c
tps6507x-regulator.c
tps6524x-regulator.c
tps6586x-regulator.c Merge remote-tracking branches 'regulator/topic/core', 'regulator/topic/bypass', 'regulator/topic/tol', 'regulator/topic/drivers' and 'regulator/topic/tps6586x' into regulator-next 2012-09-28 14:45:07 +01:00
tps62360-regulator.c
tps65023-regulator.c
tps65090-regulator.c
tps65217-regulator.c
tps65910-regulator.c
tps65912-regulator.c
twl-regulator.c regulator: twl: Remove another unused variable warning 2012-09-09 11:09:38 +08:00
userspace-consumer.c
virtual.c
wm831x-dcdc.c MFD bits for the 3.7 merge window. 2012-10-05 12:01:30 +09:00
wm831x-isink.c mfd: wm831x: Convert to IORESOURCE_REG 2012-09-11 10:15:03 +02:00
wm831x-ldo.c MFD bits for the 3.7 merge window. 2012-10-05 12:01:30 +09:00
wm8350-regulator.c
wm8400-regulator.c
wm8994-regulator.c