2019-10-01 13:21:31

by Charles Keepax

[permalink] [raw]
Subject: [PATCH] regulator: lochnagar: Add on_off_delay for VDDCORE

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 <[email protected]>
---
drivers/regulator/lochnagar-regulator.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/lochnagar-regulator.c b/drivers/regulator/lochnagar-regulator.c
index ff97cc50f2eb9..9b05e03ba8305 100644
--- 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,
},
--
2.11.0


2019-10-01 17:59:46

by Mark Brown

[permalink] [raw]
Subject: Applied "regulator: lochnagar: Add on_off_delay for VDDCORE" to the regulator tree

The patch

regulator: lochnagar: Add on_off_delay for VDDCORE

has been applied to the regulator tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From f75841aa3b4bf02fcc7941af2d3e00ff74a93bdb Mon Sep 17 00:00:00 2001
From: Charles Keepax <[email protected]>
Date: Tue, 1 Oct 2019 14:20:17 +0100
Subject: [PATCH] regulator: lochnagar: Add on_off_delay for VDDCORE

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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
---
drivers/regulator/lochnagar-regulator.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/lochnagar-regulator.c b/drivers/regulator/lochnagar-regulator.c
index ff97cc50f2eb..9b05e03ba830 100644
--- 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,
},
--
2.20.1