linux-hardened/include/linux/regulator
Yadwinder Singh Brar 6f0b2c696c regulator: Add ramp_delay configuration to constraints
For some hardwares ramp_delay for BUCKs is a configurable parameter which can
be configured through DT or board file.This patch adds ramp_delay to regulator
constraints and allow user to configure it for regulators which supports this
feature, through DT or board file. It will provide two ways of setting the
ramp_delay for a regulator:
	First, by setting it as constraints in board file(for configurable
regulators) and set_machine_constraints() will take care of setting it on
hardware by calling(the provided) .set_ramp_delay() operation(callback).
	Second, by setting it as data in regulator_desc(as fixed/default
ramp_delay rate) for a regulator in driver.

regulator_set_voltage_time_sel() will give preference to
constraints->ramp_delay while reading ramp_delay rate for regulator. Similarly
users should also take care accordingly while refering ramp_delay rate(in case
of implementing their private .set_voltage_time_sel() callbacks for different
regulators).

[Rewrote subject for 80 columns -- broonie]

Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-06-17 21:08:52 +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: Add ramp_delay configuration to constraints 2012-06-17 21:08:52 +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 Regulator: LP3972 PMIC regulator driver 2010-10-28 22:40:31 +01:00
machine.h regulator: Add ramp_delay configuration to constraints 2012-06-17 21:08:52 +01:00
max1586.h
max8649.h
max8660.h
max8952.h MAX8952 PMIC Driver Initial Release 2010-10-28 22:40:31 +01:00
of_regulator.h regulator: Add generic DT parsing for regulators 2012-05-04 13:25:15 +01:00
tps6507x.h
tps62360.h regulator: tps62360: support force PWM mode via regulator mode 2012-05-14 18:03:04 +01:00
tps65090-regulator.h regulator: Add TPS65090 regulator driver 2012-04-01 11:59:27 +01:00
userspace-consumer.h