linux/drivers/regulator
Axel Lin 0ec446ea9a regulator: Refactor to use one da9052_ldo_ops/da9052_dcdc_ops for all LDOs/DCDCs
In current implementation, da9052_ldo_ops and da9052_ldo5_6_ops are very
similar, only the set_voltage is slightly different.
da9052_buckperi_ops and da9052_dcdc_ops are also similar.

This patch adds da9052_regulator_set_voltage for the set_voltage callback
used by all LDOs and DCDCs. Rework da9052_get_regulator_voltage_sel and
da9052_set_dcdc_voltage to make it possible to be shared by all DCDCs.
Rework da9052_list_voltage to make it to be shared by all DCDCs and LDOs.

Then we can remove da9052_ldo5_6_ops and da9052_buckperi_ops.
We can also remove DA9052_LDO5_6 and DA9052_BUCKPERI macros which is not used
now.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-04-01 11:59:35 +01:00
..
88pm8607.c regulator: fix the ldo configure according to 88pm860x spec 2012-02-24 14:56:32 +00:00
aat2870-regulator.c regulator: Add a pointer to aat2870_data in struct aat2870_regulator 2012-03-11 20:48:48 +00:00
ab3100.c regulator: Convert ab3100 to set_voltage_sel 2012-04-01 11:59:23 +01:00
ab8500.c regulator: Convert ab8500 to set_voltage_sel 2012-04-01 11:59:23 +01:00
ad5398.c regulator: ad5398: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:49 +00:00
anatop-regulator.c regulator: Add Anatop regulator driver 2012-03-14 12:37:35 +00:00
core.c regulator: Updates for 3.4 2012-03-21 10:34:56 -07:00
da903x.c regulator: da903x: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:52 +00:00
da9052-regulator.c regulator: Refactor to use one da9052_ldo_ops/da9052_dcdc_ops for all LDOs/DCDCs 2012-04-01 11:59:35 +01:00
db8500-prcmu.c regulators/db8500: split off shared dbx500 code 2012-01-20 12:01:29 +00: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: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
dummy.h regulator: fix build when CONFIG_REGULATOR_DUMMY=n 2010-10-28 22:40:32 +01:00
fixed-helper.c regulator: provide a helper for registering a fixed regulator 2012-03-03 16:32:47 +00:00
fixed.c regulator: fixed: Don't supply voltage change ops when no GPIO is given 2012-04-01 11:59:26 +01:00
gpio-regulator.c regulator: gpio-regulator: Set the smallest voltage/current in the specified range 2012-04-01 11:59:26 +01:00
isl6271a-regulator.c regulator: Simplify the code to get selector in isl6271a_set_voltage 2012-03-11 20:48:47 +00:00
Kconfig regulator: Add TPS65090 regulator driver 2012-04-01 11:59:27 +01:00
lp3971.c regulator: Convert lp3971 to set_voltage_sel 2012-04-01 11:59:28 +01:00
lp3972.c regulator: Convert lp3972 to set_voltage_sel 2012-04-01 11:59:28 +01:00
Makefile regulator: Add TPS65090 regulator driver 2012-04-01 11:59:27 +01:00
max1586.c regulator: max1586: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:49 +00:00
max8649.c Merge remote-tracking branch 'regulator/topic/stub' into regulator-next 2012-03-18 21:38:20 +00:00
max8660.c regulator: max8660: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:50 +00:00
max8925-regulator.c regulator: max8925: Use DIV_ROUND_UP macro 2012-03-13 23:19:40 +00:00
max8952.c regulator: Convert max8952 to set_voltage_sel 2012-04-01 11:59:32 +01:00
max8997.c regulator: Add MAX8997_VOLTAGE_REGULATOR and MAX8997_CURRENT_REGULATOR macros 2012-04-01 11:59:33 +01:00
max8998.c regulator: Silence error message in max8998_pmic_probe 2012-03-11 20:48:54 +00:00
mc13xxx-regulator-core.c regulator: Fix mc13xxx regulator modular build (again) 2012-02-09 22:57:46 +00:00
mc13xxx.h regulator: mc13892: add device tree probe support 2011-12-22 11:10:45 +00:00
mc13783-regulator.c regulator: mc13783: bail out without platform data 2012-03-11 20:48:44 +00:00
mc13892-regulator.c regulator: mc13892: Convert to devm_kzalloc() 2011-12-30 02:06:29 +00:00
of_regulator.c regulator: Set apply_uV only when min and max voltages are defined 2012-01-26 11:01:21 +00:00
pcap-regulator.c regulator: Convert pcap-regulator to get_voltage_sel 2012-04-01 11:59:29 +01:00
pcf50633-regulator.c regulator: Convert pcf50633 to get_voltage_sel 2012-04-01 11:59:23 +01:00
s5m8767.c regulator: Add support s5m8767 opmode operation 2012-04-01 11:59:22 +01:00
tps6105x-regulator.c regulator: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
tps6507x-regulator.c regulator: Convert tps6507x to set_voltage_sel 2012-03-14 14:13:17 +00:00
tps6524x-regulator.c regulator: Updates for 3.4 2012-03-21 10:34:56 -07:00
tps6586x-regulator.c regulator: Merge tps6586x_regulator_ldo_ops and tps6586x_regulator_dvm_ops 2012-04-01 11:59:32 +01:00
tps62360-regulator.c regulator: tps62360: Remove pointless test for unsigned less than zero 2012-03-11 20:48:40 +00:00
tps65023-regulator.c regulator: Convert tps65023 to set_voltage_sel 2012-04-01 11:59:33 +01:00
tps65090-regulator.c regulator: Remove _en_reg, _en_bit and _ops parameters from tps65090_REG macro 2012-04-01 11:59:32 +01:00
tps65217-regulator.c regulator: Merge tps65217_pmic_ldo234_ops and tps65217_pmic_dcdc_ops to tps65217_pmic_ops 2012-03-12 10:50:46 +00:00
tps65910-regulator.c Merge tag 'regulator-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into next/drivers 2012-03-24 11:29:58 +00:00
tps65912-regulator.c regulator: Use tps65912_get_voltage for both DCDCs and LDOs 2012-04-01 11:59:25 +01:00
twl-regulator.c regulator: twl-regulator: Add fixed LDO for V1V8, V2V1 supply 2012-03-11 20:09:18 +00:00
userspace-consumer.c regulator: Convert virtual and userspace regulator consumer drivers to use module_platform_driver() 2011-11-28 11:49:13 +00:00
virtual.c regulator: Convert virtual and userspace regulator consumer drivers to use module_platform_driver() 2011-11-28 11:49:13 +00:00
wm831x-dcdc.c regulator: wm831x-dcdc: Use devm_kzalloc 2012-04-01 11:59:30 +01:00
wm831x-isink.c regulator: Convert wm831x regulator drivers to devm_kzalloc() 2011-12-20 11:29:05 +00:00
wm831x-ldo.c regulator: Convert wm831x regulator drivers to devm_kzalloc() 2011-12-20 11:29:05 +00:00
wm8350-regulator.c regulator: Use DIV_ROUND_CLOSEST in wm8350_isink_get_current 2012-03-12 10:48:18 +00:00
wm8400-regulator.c regulator: wm8400: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:51 +00:00
wm8994-regulator.c regulator: wm8994: Convert to devm_kzalloc() 2012-03-11 20:48:41 +00:00