drm/bridge: ti-sn65dsi86: Implement wait_hpd_asserted
authorNikita Travkin <nikita@trvn.ru>
Sat, 8 Apr 2023 08:20:14 +0000 (13:20 +0500)
committerDouglas Anderson <dianders@chromium.org>
Thu, 20 Apr 2023 18:39:28 +0000 (11:39 -0700)
commit34c1aeb579ddd36392e18e2fc354db441556811e
tree4e683dc1a8ed05f8d1bacc8f41f04ef74d61ea59
parent91c249b2b9f6a80c744387b6713adf275ffd296b
drm/bridge: ti-sn65dsi86: Implement wait_hpd_asserted

This bridge doesn't actually implement HPD due to it being way too slow
but instead expects the panel driver to wait enough to assume HPD is
asserted. However some panels (such as the generic 'edp-panel') expect
the bridge to deal with the delay and pass maximum delay to the aux
instead.

In order to support such panels, add a dummy implementation of wait
that would just sleep the maximum delay and assume no failure has
happened.

Signed-off-by: Nikita Travkin <nikita@trvn.ru>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230408082014.235425-1-nikita@trvn.ru
drivers/gpu/drm/bridge/ti-sn65dsi86.c