regulator: ab8500: Set enable enable_time in regulator_desc
Allow the regulator framework to directly access the time it takes any given regulator to settle. This saves time and code because without it we would have to implement a dedication function to read the value from elsewhere. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Родитель
684d5ce4af
Коммит
a4d68468ca
|
@ -1106,6 +1106,7 @@ static struct ab8500_regulator_info
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.n_voltages = 1,
|
.n_voltages = 1,
|
||||||
.volt_table = fixed_2000000_voltage,
|
.volt_table = fixed_2000000_voltage,
|
||||||
|
.enable_time = 10000,
|
||||||
},
|
},
|
||||||
.delay = 10000,
|
.delay = 10000,
|
||||||
.load_lp_uA = 1000,
|
.load_lp_uA = 1000,
|
||||||
|
@ -1371,6 +1372,7 @@ static struct ab8500_regulator_info
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.n_voltages = 1,
|
.n_voltages = 1,
|
||||||
.volt_table = fixed_2000000_voltage,
|
.volt_table = fixed_2000000_voltage,
|
||||||
|
.enable_time = 10000,
|
||||||
},
|
},
|
||||||
.delay = 10000,
|
.delay = 10000,
|
||||||
.load_lp_uA = 1000,
|
.load_lp_uA = 1000,
|
||||||
|
@ -1668,6 +1670,7 @@ static struct ab8500_regulator_info
|
||||||
.id = AB8540_LDO_TVOUT,
|
.id = AB8540_LDO_TVOUT,
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.n_voltages = 1,
|
.n_voltages = 1,
|
||||||
|
.enable_time = 10000,
|
||||||
},
|
},
|
||||||
.delay = 10000,
|
.delay = 10000,
|
||||||
.load_lp_uA = 1000,
|
.load_lp_uA = 1000,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче