Skip to content

Commit

Permalink
dcp: Wait 25ms after enabling dcp/dptx-phy power-domains
Browse files Browse the repository at this point in the history
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 <j@jannau.net>
  • Loading branch information
jannau authored and marcan committed Oct 7, 2023
1 parent 0097d51 commit 50ac69e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 50ac69e

Please sign in to comment.