kernel_optimize_test/drivers/regulator
Afzal Mohammed 780dc9ba4e regulator: TPS65910: Fix VDD1/2 voltage selector count
Count of selector voltage is required for regulator_set_voltage
to work via set_voltage_sel. VDD1/2 currently have it as zero,
so regulator_set_voltage won't work for VDD1/2.
Update count (n_voltages) for VDD1/2.

Output Voltage = (step value * 12.5 mV + 562.5 mV) * gain

With above expr, number of voltages that can be selected is
step value count * gain count

constant for gain count will be called VDD1_2_NUM_VOLT_COARSE

existing constant for step value count is VDD1_2_NUM_VOLTS,
use VDD1_2_NUM_VOLT_FINE instead to make clear that step value
is not the only component in deciding selectable voltage count

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-11-23 14:03:52 +00:00
..
88pm8607.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
aat2870-regulator.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
ab3100.c mfd: Use mfd cell platform_data for ab3100 cells platform bits 2011-05-26 19:44:58 +02:00
ab8500.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
ad5398.c i2c: Remove obsolete cleanup for clientdata 2010-09-30 14:14:22 +02:00
bq24022.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
core.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
da903x.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
db8500-prcmu.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
dummy.c regulator: Add export.h for THIS_MODULE to dummy.c 2011-10-31 19:32:15 -04:00
dummy.h regulator: fix build when CONFIG_REGULATOR_DUMMY=n 2010-10-28 22:40:32 +01:00
fixed.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
gpio-regulator.c regulator: Add module.h include to gpio-regulator 2011-10-11 13:59:13 +01:00
isl6271a-regulator.c regulator: missing index in PTR_ERR() in isl6271a_probe() 2011-01-12 14:33:06 +00:00
Kconfig regulator: gpio-regulator add dependency on GENERIC_GPIO 2011-10-12 10:50:40 +01:00
lp3971.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
lp3972.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
Makefile regulator: Add driver for gpio-controlled regulators 2011-10-09 12:36:21 +01:00
max1586.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8649.c regulator: Ensure enough enable time for max8649 2011-08-08 17:15:08 +01:00
max8660.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8925-regulator.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
max8952.c regulator: max8952: removed unused mutex. 2011-08-08 17:15:09 +01:00
max8997.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
max8998.c regulator: Fix memory leak in max8998_pmic_probe failure path 2011-05-27 10:49:09 +01:00
mc13xxx-regulator-core.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
mc13xxx.h make mc13783 regulator code generic 2011-01-12 14:33:03 +00:00
mc13783-regulator.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
mc13892-regulator.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04: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
tps6105x-regulator.c regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe 2011-05-27 10:34:36 +01:00
tps6507x-regulator.c regulator: tps6507x: Remove num_voltages array 2011-08-08 17:15:09 +01:00
tps6524x-regulator.c regulator: fix tps6524x section mismatch 2011-03-26 14:15:06 +00:00
tps6586x-regulator.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
tps65023-regulator.c regulator: remove duplicate REG_CTRL2 defines in tps65023 2011-10-09 12:05:27 +01:00
tps65910-regulator.c regulator: TPS65910: Fix VDD1/2 voltage selector count 2011-11-23 14:03:52 +00:00
tps65912-regulator.c regulator: tps65912: Remove unused define of TPS65912_MAX_REG_ID 2011-08-08 17:12:51 +01:00
twl-regulator.c regulator: TWL: Remove entry of RES_ID for 6030 macros 2011-07-22 11:30:05 +01:00
userspace-consumer.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
virtual.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
wm831x-dcdc.c regulator: Improve WM831x DVS VSEL selection algorithm 2011-07-28 10:20:49 +01:00
wm831x-isink.c regulator: Convert WM831x regulators to genirq 2011-03-26 14:15:04 +00:00
wm831x-ldo.c regulator: Fix WM831x regulator ID lookups for multiple WM831xs 2011-07-28 10:20:48 +01:00
wm8350-regulator.c regulator: Convert WM835x to use get_voltage_sel() 2011-01-12 14:33:04 +00:00
wm8400-regulator.c regulator: Add module.h to drivers/regulator users as required 2011-10-31 19:32:15 -04:00
wm8994-regulator.c regulator: Add WM1811 support 2011-10-07 12:49:18 +01:00