projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f64db54
)
regulator: lochnagar: Add on_off_delay for VDDCORE
author
Charles Keepax
<ckeepax@opensource.cirrus.com>
Tue, 1 Oct 2019 13:20:17 +0000
(14:20 +0100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 1 Oct 2019 16:46:01 +0000
(17:46 +0100)
The VDDCORE regulator takes a good length of time to discharge down, so
add an on_off_delay to ensure DCVDD is removed before it is powered on
again.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link:
https://lore.kernel.org/r/20191001132017.1785-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/lochnagar-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/lochnagar-regulator.c
b/drivers/regulator/lochnagar-regulator.c
index
ff97cc5
..
9b05e03
100644
(file)
--- a/
drivers/regulator/lochnagar-regulator.c
+++ b/
drivers/regulator/lochnagar-regulator.c
@@
-210,6
+210,7
@@
static const struct regulator_desc lochnagar_regulators[] = {
.enable_time = 3000,
.ramp_delay = 1000,
+ .off_on_delay = 15000,
.owner = THIS_MODULE,
},