linux_dsm_epyc7002/include/linux/regulator
Mark Brown dc9ceed6a1 regulator: core: Make set_voltage_tol() try for mid-range first
The expected semantic for something expressed as a tolerance is that it
should deliver the specified value with some deviation allowed but this
is not what set_voltage_tol() currently does. Instead it just passes
the maximum possible range to set_voltage() which will typically result
in a voltage aimed at lower than the target voltage.

Instead first try to set a voltage between the target voltage and the
upper limit, then fall back on the full range. This will be much more
robust against physical variation in systems and makes the API behave
more like users would expect.

Signed-off-by: Mark Brown <broonie@linaro.org>
2013-07-15 11:20:08 +01:00
..
ab8500.h regulator: ab8500-ext: Register as a device in its own right 2013-06-11 12:50:00 +01:00
consumer.h regulator: core: Make set_voltage_tol() try for mid-range first 2013-07-15 11:20:08 +01:00
db8500-prcmu.h
driver.h Merge remote-tracking branch 'regulator/topic/gpio' into v3.9-rc8 2013-04-28 02:13:40 +01:00
fan53555.h regulator: Fairchild fan53555 support 2012-09-10 09:55:22 +08:00
fixed.h
gpio-regulator.h
lp872x.h
lp3971.h
lp3972.h
machine.h regulator: core: Support bypass mode 2012-09-10 11:25:10 +08:00
max1586.h
max8649.h
max8660.h
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
tps6507x.h
tps51632-regulator.h regulator: tps51632: Add tps51632 regulator driver 2012-10-15 11:54:42 +09:00
tps62360.h
userspace-consumer.h