mbox series

[00/21] drm/bridge: tc358767: DP support

Message ID 20190319104114.12077-1-tomi.valkeinen@ti.com
Headers show
Series drm/bridge: tc358767: DP support | expand

Message

Tomi Valkeinen March 19, 2019, 10:40 a.m. UTC
Hi,

tc358767 bridge was originally implemented for eDP use with an embedded
panel. I've been working to add DP support, and this series is the
result. I did have a lot of issues with link training, but with these,
it's been working reliably with my devices.

A downside on my hardware is that there's no HPD interrupt, so this uses
polling. I believe the polling support could be improved by using the
INTSTS_G register to find out it there has been plug-ins/outs, but for
now this does the HPD handling the naive way.

 Tomi

Tomi Valkeinen (21):
  drm/bridge: tc358767: fix tc_aux_get_status error handling
  drm/bridge: tc358767: reset voltage-swing & pre-emphasis
  drm/bridge: tc358767: fix ansi 8b10b use
  drm/bridge: tc358767: cleanup spread & scrambler_dis
  drm/bridge: tc358767: remove unused swing & preemp
  drm/bridge: tc358767: cleanup aux_link_setup
  drm/bridge: tc358767: move video stream setup to tc_main_link_stream
  drm/bridge: tc358767: split stream enable/disable
  drm/bridge: tc358767: move PXL PLL enable/disable to stream
    enable/disable
  drm/bridge: tc358767: add link disable function
  drm/bridge: tc358767: ensure DP is disabled before LT
  drm/bridge: tc358767: remove unnecessary msleep
  drm/bridge: tc358767: use more reliable seq when finishing LT
  drm/bridge: tc358767: cleanup LT result check
  drm/bridge: tc358767: clean-up link training
  drm/bridge: tc358767: remove check for video mode in link enable
  drm/bridge: tc358767: use bridge mode_valid
  drm/bridge: tc358767: remove tc_connector_best_encoder
  drm/bridge: tc358767: copy the mode data, instead of storing the
    pointer
  drm/bridge: tc358767: add GPIO & interrupt registers
  drm/bridge: tc358767: implement naive HPD handling

 drivers/gpu/drm/bridge/tc358767.c | 457 ++++++++++++++++--------------
 1 file changed, 249 insertions(+), 208 deletions(-)