drm/bridge/synopsys: dw-hdmi: Add "unwedge" for ddc bus
authorDouglas Anderson <dianders@chromium.org>
Thu, 2 May 2019 22:53:33 +0000 (15:53 -0700)
committerSean Paul <seanpaul@chromium.org>
Wed, 5 Jun 2019 19:39:00 +0000 (15:39 -0400)
commit50f9495efe308eb25fd921ea7c8c8143ddeeae30
tree8664b4e353f8849983c3d317a74120a8b0af74ae
parentc60362500149608bc535c9cb80d42ddd03f8152a
drm/bridge/synopsys: dw-hdmi: Add "unwedge" for ddc bus

See the PhD thesis in the comments in this patch for details, but to
summarize this adds a hacky "unwedge" feature to the dw_hdmi i2c bus to
workaround what appears to be a hardware errata.  This relies on a
pinctrl entry to help change around muxing to perform the unwedge.

NOTE that the specific TV this was tested on was the "Samsung
UN40HU6950FXZA" and the specific port was the "STB" port.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190502225336.206885-2-dianders@chromium.org
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c