summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2016-09-14 09:52:08 -0700
committerMark Brown <broonie@kernel.org>2016-09-16 18:38:22 +0100
commit73e705bf81ceb84b39ef9cf6ffb8d12ca0c58a23 (patch)
treed9b12334afd63697d21e46788c7a79c80abd0da7 /lib
parentd89564efe79419a093e966a959bf5ba2c94e693f (diff)
regulator: core: Add set_voltage_time op
The new op is analogous to set_voltage_time_sel. It can be used by regulators which don't have a table of discrete voltages. The function returns the time for the regulator output voltage to stabilize after being set to a new value, in microseconds. If the op is not set a default implementation is used to calculate the delay. This change also removes the ramp_delay calculation in the PWM regulator, since the driver now uses the core code for the calculation of the delay. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions