linux_dsm_epyc7002/include/linux/regulator
Mark Brown 4ab5b3d92c regulator: core: Provide regmap based voltage_sel operations
Since the voltage selector operations are intended to directly map a
bitfield in the device register map into regulator API operations the
code for implementing them is usually very standard we can save some
code by providing standard implementations for devices using the regmap
API.

Drivers using regmap can pass their regmap in in the regmap_config
struct, set vsel_reg and vsel_mask in their regulator_desc and then
use regulator_{get,set}_voltage_sel_regmap in their ops. This saves
a small amount of code from each driver.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
2012-04-16 19:52:03 +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 mach-ux500: voltage domain regulators for DB8500 2011-05-24 22:20:23 +02:00
driver.h regulator: core: Provide regmap based voltage_sel operations 2012-04-16 19:52:03 +01:00
fixed.h regulator: fixed: Support for open drain gpio pin 2012-04-02 23:17:53 +01:00
gpio-regulator.h regulator: Add driver for gpio-controlled regulators 2011-10-09 12:36:21 +01:00
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