linux/drivers/regulator
Mark Brown 65f735082d regulator: core: Add core support for GPIO controlled enable lines
It is very common for regulators to support having their enable signal
controlled by a GPIO. Since there are a bunch of fiddly things to get
right like handling the operations when the enable signal is tied to
a rail and it's just replicated code add support for this to the core.

Drivers should set ena_gpio in their config if they have a GPIO control,
using ena_gpio_flags to specify any flags (including GPIOF_OUT_INIT_ for
the initial state) and ena_gpio_invert if the GPIO is active low. The
core will then override any enable and disable operations the driver has
and instead control the specified GPIO.

This will in the future also allow us to further extend the core by
identifying when several enable signals have been tied together and
handling this properly.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-07-03 20:29:27 +01:00
..
88pm8607.c regulator: 88pm8607: Use regulator_get_voltage_sel_regmap() 2012-05-04 13:32:06 +01:00
aat2870-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
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 regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
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 regulator: core: Add core support for GPIO controlled enable lines 2012-07-03 20:29:27 +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 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: Remove non-existent parameter from fixed-helper.c kernel doc 2012-03-31 19:41:20 +01:00
fixed.c regulator: fixed: Set enable enable_time in regulator_desc 2012-07-03 20:28:41 +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: dt: regulator match by regulator-compatible 2012-07-03 20:19:41 +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 Merge remote-tracking branch 'regulator/topic/drivers' into regulator-next 2012-05-12 11:10:25 +01:00
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 regulator: tps65912: Convert to get_voltage_sel 2012-04-23 13:20:27 +01:00
twl-regulator.c regulator: twl: Remove references to 32kHz clock from DT bindings 2012-06-18 13:40:14 +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: Set enable_time in descriptor 2012-07-03 20:29:24 +01:00