regulator: core: Change the unit of ramp_delay from mV/uS to uV/uS
This change makes it possible to set ramp_delay with 0.xxx mV/uS without truncation issue. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
398715ab94
commit
ea38d13fd1
4 changed files with 5 additions and 5 deletions
|
|
@ -173,7 +173,7 @@ enum regulator_type {
|
|||
*
|
||||
* @min_uV: Voltage given by the lowest selector (if linear mapping)
|
||||
* @uV_step: Voltage increase with each selector (if linear mapping)
|
||||
* @ramp_delay: Time to settle down after voltage change (unit: mV/us)
|
||||
* @ramp_delay: Time to settle down after voltage change (unit: uV/us)
|
||||
* @volt_table: Voltage mapping table (if table based mapping)
|
||||
*
|
||||
* @vsel_reg: Register for selector when using regulator_regmap_X_voltage_
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ struct regulator_state {
|
|||
* mode.
|
||||
* @initial_state: Suspend state to set by default.
|
||||
* @initial_mode: Mode to set at startup.
|
||||
* @ramp_delay: Time to settle down after voltage change (unit: mV/us)
|
||||
* @ramp_delay: Time to settle down after voltage change (unit: uV/us)
|
||||
*/
|
||||
struct regulation_constraints {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue