twx-linux/include/linux/regulator
Mark Brown cd6dffb4c6 regulator: core: Provide standard enable operations for regmap users
Since the enable(), disable() and is_enabled() operations for most regmap
based regulators come down to reading and updating a single register bit
we can factor out the code and allow these drivers to just define which
bit to update using the enable_reg and enable_mask fields in their desc
and then use operations provided by the core.

As well as the code saving this opens the door to future optimisation of
the bulk operations - if the core can realise that we are updating a
single register for multiple regulators then it should be able to combine
these updates into a single physical operation.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
2012-04-16 19:52:42 +01:00
..
ab8500.h mfd: Support AB9540 ab8500 variant 2012-03-06 18:46:43 +01:00
consumer.h The following text was taken from the original review request: 2012-03-24 10:41:37 -07:00
db8500-prcmu.h
driver.h regulator: core: Provide standard enable operations for regmap users 2012-04-16 19:52:42 +01:00
fixed.h regulator: fixed: Support for open drain gpio pin 2012-04-02 23:17:53 +01:00
gpio-regulator.h
lp3971.h
lp3972.h
machine.h regulator: Fix comments in include/linux/regulator/machine.h 2012-03-29 12:09:45 +01:00
max1586.h
max8649.h
max8660.h
max8952.h
of_regulator.h regulator: pass device_node to of_get_regulator_init_data() 2011-12-05 19:10:17 +00:00
tps6507x.h
tps62360.h regulator: TPS62360: Add tps62360 regulator driver 2012-01-20 12:01:23 +00:00
tps65090-regulator.h regulator: Add TPS65090 regulator driver 2012-04-01 11:59:27 +01:00
userspace-consumer.h