Skip to content

Commit

Permalink
drm/bridge: anx7625: Fix power on delay
Browse files Browse the repository at this point in the history
[ Upstream commit 1fcf24f ]

>From anx7625 spec, the delay between powering on power supplies and gpio
should be larger than 10ms.

Fixes: 6c74498 ("drm/bridge: anx7625: disable regulators when power off")
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210428115116.931328-1-hsinyi@chromium.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
hsinyi527 authored and gregkh committed Jul 14, 2021
1 parent 61eab97 commit 918fd0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/bridge/analogix/anx7625.c
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ static void anx7625_power_on(struct anx7625_data *ctx)
usleep_range(2000, 2100);
}

usleep_range(4000, 4100);
usleep_range(11000, 12000);

/* Power on pin enable */
gpiod_set_value(ctx->pdata.gpio_p_on, 1);
Expand Down

0 comments on commit 918fd0d

Please sign in to comment.