From: Kuro Chung Date: Tue, 4 Jun 2024 02:44:05 +0000 (+0800) Subject: drm/bridge: it6505: update usleep_range for RC circuit charge time X-Git-Tag: v6.11-rc1~141^2~22^2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8814444e62b8a8b573fba2cbbb327d5817b74eb0;p=thirdparty%2Fkernel%2Flinux.git drm/bridge: it6505: update usleep_range for RC circuit charge time The spec of timing between IVDD/OVDD and SYSRTEN is 10ms, but SYSRSTN RC circuit need at least 25ms for rising time, update for match spec Signed-off-by: Kuro Chung Signed-off-by: Hermes Wu Reviewed-by: Robert Foss Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20240604024405.1122488-1-kuro.chung@ite.com.tw --- diff --git a/drivers/gpu/drm/bridge/ite-it6505.c b/drivers/gpu/drm/bridge/ite-it6505.c index cd1b5057ddfb4..1e1c06fdf2064 100644 --- a/drivers/gpu/drm/bridge/ite-it6505.c +++ b/drivers/gpu/drm/bridge/ite-it6505.c @@ -2615,7 +2615,7 @@ static int it6505_poweron(struct it6505 *it6505) gpiod_set_value_cansleep(pdata->gpiod_reset, 0); usleep_range(1000, 2000); gpiod_set_value_cansleep(pdata->gpiod_reset, 1); - usleep_range(10000, 20000); + usleep_range(25000, 35000); } it6505->powered = true;