1
linux/drivers/regulator
Axel Lin 844e6901df regulator: tps65217: Fix voltage boundary checking in tps65217_pmic_map_voltage
It is ok to request voltage with min_uV < tps->info[rid]->min_uV and
max_uV > tps->info[rid]->max_uV.

The equation we used in uv_to_vsel() does not allow
min_uV < tps->info[rid]->min_uV, otherwise it returns negative selector.
So we need to set min_uV = tps->info[rid]->min_uV if
min_uV < tps->info[rid]->min_uV.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-07-03 20:18:34 +01:00
..
88pm8607.c
aat2870-regulator.c
ab3100.c regulator: ab3100: Convert fixed voltage to use regulator_list_voltage_linear 2012-06-17 21:05:28 +01:00
ab8500.c regulator: ab8500: Remove min_uV and max_uV from struct ab8500_regulator_info 2012-06-17 21:04:45 +01:00
ad5398.c
anatop-regulator.c Linux 3.5-rc4 2012-06-25 10:11:40 +01:00
arizona-ldo1.c regulator: Add driver for Arizona LDO1 2012-06-25 10:32:51 +01:00
arizona-micsupp.c regulator: arizona-micsupp: Fix choosing selector in arizona_micsupp_map_voltage 2012-06-26 11:48:05 +01:00
core.c Linux 3.5-rc4 2012-06-25 10:11:40 +01:00
da903x.c regulator: da903x: Don't read/write to DA9030_INVAL/DA9034_INVAL address 2012-06-08 07:29:47 +08:00
da9052-regulator.c regulator: da9052: Convert to set_voltage_sel and map_voltage 2012-05-16 09:48:57 +01:00
db8500-prcmu.c regulator: Change db8500-prcmu match names to reflect Device Tree 2012-06-17 18:27:49 +01:00
dbx500-prcmu.c
dbx500-prcmu.h
dummy.c
dummy.h
fixed-helper.c
fixed.c regulator: fixed: support deferred probe for DT GPIOs 2012-07-01 19:12:59 +01:00
gpio-regulator.c regulator: gpio-regulator: populate selector from set_voltage 2012-06-04 10:44:30 +01:00
isl6271a-regulator.c regulator: isl6271a: Remove setting map_voltage callback for isl_fixed_ops 2012-06-11 12:01:40 +08:00
Kconfig regulator: lp872x: Depend on I2C=y 2012-06-21 10:38:37 +01:00
lp872x.c regulator: change message level on probing lp872x driver 2012-06-21 11:04:06 +01:00
lp3971.c regulator: lp3971: Use regulator_list_voltage_table() 2012-06-03 13:25:02 +01:00
lp3972.c regulator: lp3972: Use regulator_list_voltage_table() 2012-06-03 13:25:01 +01:00
Makefile regulator: Add driver for Arizona LDO1 2012-06-25 10:32:51 +01:00
max1586.c regulator: max1586: Convert max1586_v3_ops to set_voltage_sel and map_voltage_linear 2012-06-08 08:48:23 +08:00
max8649.c regulator: max8649: fix missing regmap in rdev 2012-06-05 11:15:22 +01:00
max8660.c regulator: max8660: Convert to set_voltage_sel and regulator_map_voltage_linear 2012-05-15 18:35:42 +01:00
max8925-regulator.c regulator: max8925: Remove check_range function and max_uV from struct rc5t583_regulator_info 2012-05-17 23:00:56 +01:00
max8952.c regulator: max8952: Use devm_kzalloc 2012-05-16 09:48:37 +01:00
max8997.c regulator updates for 3.5 2012-05-21 16:49:16 -07:00
max8998.c regulator: max8998: Convert to set_voltage_sel and regulator_map_voltage_linear 2012-06-23 12:18:08 +01:00
max77686.c regulator: max77686: Implement .set_ramp_delay() callback 2012-06-20 11:15:13 +01:00
mc13xxx-regulator-core.c regulator: mc13xxx: Remove mc13xxx_sw_regulator_is_enabled function 2012-06-19 12:06:25 +01:00
mc13xxx.h regulator: mc13xxx: Remove mc13xxx_sw_regulator_is_enabled function 2012-06-19 12:06:25 +01:00
mc13783-regulator.c regulator: mc13xxx: Convert to regulator_list_voltage_table 2012-06-17 21:01:21 +01:00
mc13892-regulator.c regulator: mc13xxx: Remove mc13xxx_sw_regulator_is_enabled function 2012-06-19 12:06:25 +01:00
of_regulator.c regulator: Fix setting constraints->ramp_delay in of_get_regulation_constraints 2012-06-18 10:46:57 +01:00
palmas-regulator.c Linux 3.5-rc5 2012-07-02 18:24:59 +01:00
pcap-regulator.c regulator: pcap: Convert to regulator_list_voltage_table 2012-06-08 07:37:29 +08:00
pcf50633-regulator.c regulator: pcf50633: Convert to regulator_set_voltage_sel_regmap and map_voltage 2012-06-17 21:05:28 +01:00
rc5t583-regulator.c regulator: rc5t583: Use regulator_set_voltage_time_sel() 2012-06-24 12:13:38 +01:00
s5m8767.c regulator: s5m8767: Convert to regulator_list_voltage_linear 2012-06-26 11:50:33 +01:00
tps6105x-regulator.c regulator: tps6105x: Use regulator_list_voltage_table() 2012-06-03 13:25:01 +01:00
tps6507x-regulator.c regulator: tps6507x: Avoid duplicating the same mapping table for LDO2 and VDCDCx 2012-06-05 11:20:53 +01:00
tps6524x-regulator.c regulator: tps6524x: Convert fixed ilimsel to table based 2012-07-02 18:26:03 +01:00
tps6586x-regulator.c regulator: tps6586x: Convert to regulator_list_voltage_table 2012-06-08 07:52:59 +08:00
tps62360-regulator.c regulator: tps62360: Convert to regulator_set_voltage_time_sel() 2012-07-02 18:27:10 +01:00
tps65023-regulator.c regulator: tps65023: Convert tps65023_ldo_ops to regulator_[get|set]_voltage_sel_regmap 2012-06-19 12:14:11 +01:00
tps65090-regulator.c
tps65217-regulator.c regulator: tps65217: Fix voltage boundary checking in tps65217_pmic_map_voltage 2012-07-03 20:18:34 +01:00
tps65910-regulator.c regulator: tps65910: Convert to regulator_list_voltage_table 2012-06-22 10:13:31 +01:00
tps65912-regulator.c
twl-regulator.c regulator: twl: Remove references to 32kHz clock from DT bindings 2012-06-18 13:40:14 +01:00
userspace-consumer.c
virtual.c
wm831x-dcdc.c regulator: wm831x-dcdc: Convert wm831x_buckv_ops to set_voltage_sel and map_voltage 2012-06-17 21:07:19 +01:00
wm831x-isink.c MFD changes for 3.5 2012-05-29 11:53:11 -07:00
wm831x-ldo.c regulator: wm831x-ldo: Convert to regulator_set_voltage_sel_regmap and map_voltage 2012-06-17 21:07:19 +01:00
wm8350-regulator.c regulator: wm8350: Reuse map_voltage() to get selector of a given uV 2012-06-17 20:53:58 +01:00
wm8400-regulator.c regulator: wm8400: Adjust the equation for selector >= 15 in wm8400_ldo_list_voltage 2012-06-13 18:53:23 +01:00
wm8994-regulator.c regulator: wm8994: Convert wm8994_ldo1_ops to regulator_[list|map]_voltage_linear 2012-06-03 13:25:05 +01:00