drm/panel: panel-simple: Get rid of hacky HPD chicken-and-egg code
authorDouglas Anderson <dianders@chromium.org>
Fri, 23 Apr 2021 16:58:56 +0000 (09:58 -0700)
committerDouglas Anderson <dianders@chromium.org>
Mon, 3 May 2021 20:21:08 +0000 (13:21 -0700)
commit5c4381eeb70949059e7b160e45c83b485ecca3d2
tree1a5075f0692a0c7d20b2be384373ec0ba58750ee
parentbf73537f411b0d4f546adfb028e915eb633032c5
drm/panel: panel-simple: Get rid of hacky HPD chicken-and-egg code

When I added support for the hpd-gpio to simple-panel in commit
48834e6084f1 ("drm/panel-simple: Support hpd-gpios for delaying
prepare()"), I added a special case to handle a circular dependency I
was running into on the ti-sn65dsi86 bridge chip. On my board the
hpd-gpio is actually provided by the bridge chip. That was causing
some circular dependency problems that I had to work around by getting
the hpd-gpio late.

I've now reorganized the ti-sn65dsi86 bridge chip driver to be a
collection of sub-drivers. Now the GPIO part can probe separately and
that breaks the chain. Let's get rid of the old code to clean things
up.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210423095743.v5.10.I40eeedc23459d1e3fc96fa6cdad775d88c6e706c@changeid
drivers/gpu/drm/panel/panel-simple.c