linux/drivers/regulator
Heiko Stübner eb0c5686b3 regulator: gpio-regulator: Split setting of voltages and currents
Originally gpio-regulator used the first item of its state list
that matched the given voltage or current range.

Commit 4dbd8f63f0 (regulator: gpio-regulator: Set the smallest voltage/current
in the specified range) changed this, to make the selection independent of
the ordering of the state list.

But selecting the minimal value is only true for voltage regulators.
For current regulators the maximum in the given range should be
selected instead.

Therefore split the previous common selection function into specific
functions for voltage and current regulators.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-08-08 12:16:06 +01:00
..
88pm8607.c regulator: 88pm8607: Use regulator_get_voltage_sel_regmap() 2012-05-04 13:32:06 +01:00
aat2870-regulator.c regulator: aat2870: Remove unused min_uV and max_uV from struct aat2870_regulator 2012-07-12 18:22:13 +01:00
ab3100.c regulator: ab3100: add missing voltage table 2012-08-07 18:10:37 +01:00
ab8500.c MFD bits for the 3.6 merge window. 2012-07-30 12:41:17 -07:00
ad5398.c regulator: ad5398: Fix min/max current limit boundary checking 2012-07-04 12:39:38 +01:00
anatop-regulator.c regulator: anatop: Fix wrong mask used in anatop_get_voltage_sel 2012-08-07 18:10:26 +01:00
arizona-ldo1.c regulator: arizona-ldo1: Implement GPIO enable support 2012-07-03 20:29:30 +01:00
arizona-micsupp.c regulator: arizona-micsupp: Force regulated mode until we have API support 2012-07-04 16:22:39 +01:00
core.c SCSI misc on 20120724 2012-07-24 18:11:22 -07: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: initialize of_node param for regulator register 2012-07-12 18:21:24 +01:00
db8500-prcmu.c mfd: Register db8500-prcmu devices using the newly DT:ed MFD API 2012-07-09 00:16:09 +02:00
dbx500-prcmu.c regulators/db8500: split off shared dbx500 code 2012-01-20 12:01:29 +00:00
dbx500-prcmu.h regulators/db8500: split off shared dbx500 code 2012-01-20 12:01:29 +00:00
dummy.c regulator: dummy: Specify a struct device 2012-05-10 10:48:28 +01:00
dummy.h
fixed-helper.c regulator: extend the fixed dummy voltage regulator to accept voltage 2012-06-19 23:22:30 +01:00
fixed.c regulator: fixed: dt: support for input supply 2012-07-05 13:49:35 +01:00
gpio-regulator.c regulator: gpio-regulator: Split setting of voltages and currents 2012-08-08 12:16:06 +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 MFD bits for the 3.6 merge window. 2012-07-30 12:41:17 -07:00
lp872x.c regulator: lp872x: Simplify implementation of lp872x_find_regulator_init_data() 2012-07-16 20:58:30 +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
lp8788-buck.c regulator: add new lp8788 regulator driver 2012-07-20 11:12:15 +01:00
lp8788-ldo.c regulator: add new lp8788 regulator driver 2012-07-20 11:12:15 +01:00
Makefile regulator: add new lp8788 regulator driver 2012-07-20 11:12:15 +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 core GPIO enable support 2012-07-10 14:48:42 +01:00
max8997.c regulator: max8997: Properly handle gpio_request failure 2012-07-15 21:49:53 +01:00
max8998.c regulator: max8998: Remove wrong set_suspend_[en|dis]able callback settings 2012-07-09 19:45:12 +01:00
max77686.c regulator: max77686: Initialise rmatch.of_node to NULL. 2012-07-06 19:17:29 +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 extern function declaration for mc13xxx_sw_regulator 2012-07-20 11:12:14 +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: dt: regulator match by regulator-compatible 2012-07-03 20:19:41 +01:00
palmas-regulator.c regulator: palmas: Fix palmas_probe error handling 2012-08-07 18:10:26 +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
s2mps11.c regulator: s2mps11: Use sec_reg_write rather than sec_reg_update when mask is 0xff 2012-07-12 18:07:11 +01:00
s5m8767.c regulator: Fix an s5m8767 build failure 2012-07-31 00:51:09 +02: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: correct vin pin for sm0/sm1/sm2 2012-08-07 18:10:26 +01:00
tps62360-regulator.c regulator: tps62360: use devm_* for gpio request 2012-07-15 21:49:52 +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 Merge remote-tracking branch 'regulator/topic/drivers' into regulator-next 2012-05-12 11:10:25 +01:00
tps65217-regulator.c regulator: tps65217: Add device tree support 2012-07-12 18:27:36 +01:00
tps65910-regulator.c regulator: tps65910: set input_supply on desc unconditionally 2012-07-17 11:08:46 +01:00
tps65912-regulator.c regulator: tps65912: Convert to get_voltage_sel 2012-04-23 13:20:27 +01:00
twl-regulator.c regulator: twl: Fix list_voltate for twl6030ldo_ops 2012-07-16 20:58:02 +01:00
userspace-consumer.c regulator: userspace-consumer: Convert to use devm_* APIs 2012-04-18 10:26:24 +01:00
virtual.c regulator: virtual: Replace strict_strtol with kstrtol 2012-04-19 13:48:34 +01:00
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: Specify enable time for alive LDO 2012-07-03 20:29:25 +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: Use core GPIO enable support 2012-07-03 20:29:29 +01:00