projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbe954d
)
regulator: pf8x00: set ramp_delay for bucks
author
Christoph Fritz
<chf.fritz@googlemail.com>
Mon, 25 Jan 2021 16:13:41 +0000
(17:13 +0100)
committer
Mark Brown
<broonie@kernel.org>
Mon, 25 Jan 2021 17:17:56 +0000
(17:17 +0000)
This patch sets ramp_delay for bucks to the max value given by the
datasheet.
Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Reviewed-by: Adrien Grassein <adrien.grassein@gmail.com>
Link:
https://lore.kernel.org/r/60d8eb8feefd26380cc9c6503f835e569be90465.camel@googlemail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pf8x00-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/pf8x00-regulator.c
b/drivers/regulator/pf8x00-regulator.c
index 02892e04acce13c7494d1b56605d0a8e10c37638..827da25466cce0060eb6c7069a58344e54d984ca 100644
(file)
--- a/
drivers/regulator/pf8x00-regulator.c
+++ b/
drivers/regulator/pf8x00-regulator.c
@@
-413,6
+413,7
@@
static const struct regulator_ops pf8x00_vsnvs_ops = {
.type = REGULATOR_VOLTAGE, \
.id = PF8X00_BUCK ## _id, \
.owner = THIS_MODULE, \
+ .ramp_delay = 19000, \
.linear_ranges = pf8x00_sw1_to_6_voltages, \
.n_linear_ranges = \
ARRAY_SIZE(pf8x00_sw1_to_6_voltages), \
@@
-446,6
+447,7
@@
static const struct regulator_ops pf8x00_vsnvs_ops = {
.type = REGULATOR_VOLTAGE, \
.id = PF8X00_BUCK7, \
.owner = THIS_MODULE, \
+ .ramp_delay = 19000, \
.volt_table = voltages, \
.vsel_reg = (base) + SW_RUN_VOLT, \
.vsel_mask = 0xff, \