regulator: mp8865: add set_voltage_time_sel func
authorElaine Zhang <zhangqing@rock-chips.com>
Mon, 10 Oct 2016 07:03:38 +0000 (15:03 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 10 Oct 2016 12:19:43 +0000 (20:19 +0800)
support delay time in microseconds required to
rise or fall to this new voltage

Change-Id: I8d096500a3dcb376785285d08228961cf6b26ce0
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
drivers/regulator/mp8865-regulator.c

index ec8b63baef73fba8a9a78c5384518d2e149bac19..416333221d1331c370e07497059effd45c08bcc6 100644 (file)
@@ -93,6 +93,7 @@ static struct regulator_ops mp8865_dcdc_ops = {
        .map_voltage = regulator_map_voltage_linear_range,
        .get_voltage_sel = regulator_get_voltage_sel_regmap,
        .set_voltage_sel = mp8865_set_voltage,
+       .set_voltage_time_sel = regulator_set_voltage_time_sel,
        .enable = regulator_enable_regmap,
        .disable = regulator_disable_regmap,
        .is_enabled = regulator_is_enabled_regmap,