In some cases we need to know when a regulator is about to be changed.
Add a way for clients to be notified. Note that for set_voltage() we
don't necessarily know what voltage we'll end up with, so we tell the
client what the range will be so they can prepare.
Signed-off-by: Heiko Stübner <heiko@sntech.de>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Mark Brown <broonie+linaro@kernel.org>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| ab8500.h | ||
| act8846.h | ||
| act8891.h | ||
| act8931.h | ||
| charge-regulator.h | ||
| consumer.h | ||
| db8500-prcmu.h | ||
| driver.h | ||
| fan53555.h | ||
| fixed.h | ||
| gpio-regulator.h | ||
| lp872x.h | ||
| lp3971.h | ||
| lp3972.h | ||
| machine.h | ||
| max1586.h | ||
| max8649.h | ||
| max8660.h | ||
| max8952.h | ||
| max8973-regulator.h | ||
| of_regulator.h | ||
| ricoh619-regulator.h | ||
| rk2818_lp8725.h | ||
| rockchip-pwm-regulator.h | ||
| rockchip_io_vol_domain.h | ||
| rt5025-regulator.h | ||
| rt5036-regulator.h | ||
| tps6507x.h | ||
| tps51632-regulator.h | ||
| tps62360.h | ||
| userspace-consumer.h | ||