From 50ac69eaa56d02722167b662f355fb997cb5cef7 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Fri, 6 Oct 2023 08:22:47 +0200 Subject: [PATCH] dcp: Wait 25ms after enabling dcp/dptx-phy power-domains Fixes display initialization from stage 1 m1n1. 20ms looked reliable on j473 but let's add 25% safety margin. Someone with more motivation (and HW serial) to do repeated `kmutil configure-boot ...` can try to minimize this and test on t602x. Signed-off-by: Janne Grunau --- src/dcp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dcp.c b/src/dcp.c index 7a208922..b352ccba 100644 --- a/src/dcp.c +++ b/src/dcp.c @@ -118,6 +118,7 @@ dcp_dev_t *dcp_init(const display_config_t *cfg) dcp_die = cfg->die; pmgr_adt_power_enable(cfg->dcp); pmgr_adt_power_enable(cfg->dptx_phy); + mdelay(25); } int dart_node = adt_path_offset(adt, cfg->dcp_dart);