]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: regulator: rk8xx: Add 500us delay after LDO regulator is enabled
authorJonas Karlman <jonas@kwiboo.se>
Sun, 2 Jul 2023 12:41:15 +0000 (12:41 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 31 Jul 2023 12:33:18 +0000 (20:33 +0800)
commitfea7a29cc8d86a0bbcb4bcf740d47924839b1f81
treee9512c5069dc2383d10e51e69498a7d5ff2fb316
parentb8fc65473ae74776e7cac47c793a5ac295dea928
power: regulator: rk8xx: Add 500us delay after LDO regulator is enabled

A quick power cycle of a LDO regulator during dw-mmc signal voltage
change has shown that SD-card does not always get recognized.

Linux driver use an enable_time of 400us for LDO regulators. Apply a
500us delay when a LDO regulator is enabled to fix possible issues.

Fixes: 94afc1cb466a ("power: regulator: rk8xx: update the driver for rk808 and rk818")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: elaine.zhang<elaine.zhang@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/power/regulator/rk8xx.c