linux-xiaomi-chiron/include/linux/regulator
Carlo Caione ca5d1b3524 regulator: helpers: Modify helpers enabling multi-bit control
This patch extends the regulator helpers to account for device that use
multiple bits for control when using regmap enable/disable/bypass ops.

The actual regulator helpers wrongly assume that the regulator control
is always performed using single bits, using in the regulator_desc
struct only two parameters *_reg and *_mask defining register and mask
for control.

This patch extends this struct and introduces the helpers to take into
account devices where control is performed using multiple bits and
specific multi-bit values are used for enabling/disabling/bypassing the
regulator.

Signed-off-by: Carlo Caione <carlo@caione.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-03-06 17:30:10 +08:00
..
ab8500.h regulator: ab8500-ext: Register as a device in its own right 2013-06-11 12:50:00 +01:00
act8865.h regulator: act8865: add PMIC act8865 driver 2013-12-24 13:47:40 +00:00
consumer.h regulator: core: Add ability to create a lookup alias for supply 2013-10-18 00:56:05 +01:00
db8500-prcmu.h mach-ux500: voltage domain regulators for DB8500 2011-05-24 22:20:23 +02:00
driver.h regulator: helpers: Modify helpers enabling multi-bit control 2014-03-06 17:30:10 +08:00
fan53555.h regulator: fan53555: Prevent multiple include of fan53555.h 2013-08-07 10:38:16 +01:00
fixed.h Merge branch 'regulator-drivers' into regulator-next 2012-07-22 19:32:00 +01:00
gpio-regulator.h regulator: Add driver for gpio-controlled regulators 2011-10-09 12:36:21 +01:00
lp872x.h regulator: add new regulator driver for lp872x 2012-06-19 23:14:29 +01:00
lp3971.h
lp3972.h Regulator: LP3972 PMIC regulator driver 2010-10-28 22:40:31 +01:00
machine.h Merge remote-tracking branch 'regulator/topic/optional' into regulator-next 2013-10-24 11:11:39 +01:00
max1586.h
max8649.h regulator: enable max8649 regulator driver 2010-03-03 14:49:24 +00:00
max8660.h regulators: max8660: add DT bindings 2013-08-02 17:29:54 +01:00
max8952.h regulator: max8952: Add Device Tree support 2013-04-05 11:20:52 +01:00
max8973-regulator.h regulator: max8973: add regulator driver support 2012-11-19 17:03:11 +09:00
of_regulator.h regulator: Add generic DT parsing for regulators 2012-05-04 13:25:15 +01:00
pfuze100.h regulator: pfuze100: add pfuze100 regulator driver 2013-07-25 10:34:34 +01:00
tps6507x.h regulator: tps6507x: allow driver to use DEFDCDC{2,3}_HIGH register 2010-07-28 15:09:26 +01:00
tps51632-regulator.h regulator: tps51632: Add tps51632 regulator driver 2012-10-15 11:54:42 +09:00
tps62360.h regulator: tps62360: support force PWM mode via regulator mode 2012-05-14 18:03:04 +01:00
userspace-consumer.h