Skip to content

regulator: Fix boot speed regression w/ off-on-delay-us

Douglas Anderson lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2regulator: core: Shorten off-on-delay-us for always-on/boot-on by time since booteddrivers/regulator/core.c+3 -40 replies
2/2regulator: fixed: Set PROBE_PREFER_ASYNCHRONOUSdrivers/regulator/fixed.c+1 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] regulator: Fix boot speed regression w/ off-on-delay-us

These two patches together fix a boot speed regression on sc7180-trogdor boards which use off-on-delay-us together with regulator-boot-on with the eDP power rail.

The first patch is _almost_ a revert of another patch. Depending on when the regulator is probed and the actual delay, the end result might be the same as a revert or might result in a delay that's somewhere between "no delay" and a full delay. As talked about in the patch, I believe this is the correct behavior and, if the problems fixed in the original patch are still present, I'm hoping that they can be fixed in a cleaner way.

The first patch doesn't fully eliminate the boot speed regression, it only gets us back ~250 of the 500 ms delay. The second patch gets us the rest of the way.

The two patches can be applied independently of each other.

Douglas Anderson (2):
regulator: core: Shorten off-on-delay-us for always-on/boot-on by time
since booted
regulator: fixed: Set PROBE_PREFER_ASYNCHRONOUS

 drivers/regulator/core.c  | 7 +++----
 drivers/regulator/fixed.c | 1 +
 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.40.0.rc1.284.g88254d51c5-goog