1. NAME▲

regulator_set_voltage_time_sel - get raise/fall time

2. SYNOPSIS ▲

int regulator_set_voltage_time_sel(struct regulator_dev *  rdev , unsigned int  old_selector , unsigned int  new_selector );

3. ARGUMENTS ▲

rdev
    regulator source device

old_selector
    selector for starting voltage

new_selector
    selector for target voltage

4. DESCRIPTION ▲

Provided with the starting and target voltage selectors, this function returns time in microseconds required to rise or fall to this new voltage

Drivers providing ramp_delay in regulation_constraints can use this as their set_voltage_time_sel operation.

5. AUTHORS ▲

Liam Girdwood <>
    Author.

Mark Brown <>
Wolfson Microelectronics,
    Author.

6. COPYRIGHT ▲