drm/bridge: tc358764: restore connector support
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 30 Sep 2020 11:40:42 +0000 (13:40 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Mon, 5 Oct 2020 14:25:25 +0000 (16:25 +0200)
commitdac4ec775aa1cae4ac6d37ae135c862636541e78
treebe873ce9d811b527031eb597a6ba231840a5968f
parentf3d52908f6baffc21ba45058103d0226ca5cb073
drm/bridge: tc358764: restore connector support

This patch restores DRM connector registration in the TC358764 bridge
driver and restores usage of the old drm_panel_* API, thus allows dynamic
panel registration. This fixes panel operation on Exynos5250-based
Arndale board.

This is equivalent to the revert of the following commits:
1644127f83bc "drm/bridge: tc358764: add drm_panel_bridge support"
385ca38da29c "drm/bridge: tc358764: drop drm_connector_(un)register"
and removal of the calls to drm_panel_attach()/drm_panel_detach(), which
were no-ops and has been removed in meanwhile.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200930114042.5806-1-m.szyprowski@samsung.com
drivers/gpu/drm/bridge/tc358764.c