Commit 4b03d5e0 authored by Frieder Schrempf's avatar Frieder Schrempf Committed by Robert Foss

drm/bridge: ti-sn65dsi83: Fix delay after reset deassert to match spec

The datasheet specifies a delay of 10 milliseconds, but the current
driver only waits for 1 ms. Fix this to make sure the initialization
sequence meets the spec.

Fixes: ceb515ba ("drm/bridge: ti-sn65dsi83: Add TI SN65DSI83 and SN65DSI84 driver")
Signed-off-by: default avatarFrieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221122081219.20143-1-frieder@fris.de
parent e95d5445
...@@ -346,7 +346,7 @@ static void sn65dsi83_atomic_enable(struct drm_bridge *bridge, ...@@ -346,7 +346,7 @@ static void sn65dsi83_atomic_enable(struct drm_bridge *bridge,
/* Deassert reset */ /* Deassert reset */
gpiod_set_value_cansleep(ctx->enable_gpio, 1); gpiod_set_value_cansleep(ctx->enable_gpio, 1);
usleep_range(1000, 1100); usleep_range(10000, 11000);
/* Get the LVDS format from the bridge state. */ /* Get the LVDS format from the bridge state. */
bridge_state = drm_atomic_get_new_bridge_state(state, bridge); bridge_state = drm_atomic_get_new_bridge_state(state, bridge);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment