mbox series

[v1,0/4] drm: tc358764: support drm bridge connector helper

Message ID 20200414084727.8326-1-sam@ravnborg.org (mailing list archive)
Headers show
Series drm: tc358764: support drm bridge connector helper | expand

Message

Sam Ravnborg April 14, 2020, 8:47 a.m. UTC
Somehow Laurent tricked me into updating a bridge driver.
In reality, having updated a driver yourself makes for much
better understanding of what is going on.
So in order to provide proper review feedback I deciced to give
it a spin. tc358764 was selected as it is a simple bridge driver,
so a good driver to start out with.

We are moving to a model where the panel tell what connector
it uses - so this patch assumes this model is in place.

The only device tree in the kernel that uses tc358764
use the boe,hv070wsa-100 panel, so update this panel to report
the correct connector type to support the model described above.

The "drop drm_connector_(un)register" patch drops some
unnessesary calls related to drm_connector.

Next update tc358764 to use drm_panel_bridge - which was a
nice simplification of the driver.

The last patch to support optional connector creation was
then simple to implement.

The patchset has not seen any run-time test.
So testing feedback is appreciated. The only in-kernel
user seems to be: exynos5250-arndale

Review feedback is likewise appreciated/expected - bridge
drivers is not my expertise area.

	Sam


Sam Ravnborg (4):
      drm/panel: add connector type to boe,hv070wsa-100 panel
      drm/bridge: tc358764: drop drm_connector_(un)register
      drm/bridge: tc358764: add drm_panel_bridge support
      drm/bridge: tc358764: make connector creation optional

 drivers/gpu/drm/bridge/tc358764.c    | 68 ++++++++++--------------------------
 drivers/gpu/drm/panel/panel-simple.c |  1 +
 2 files changed, 19 insertions(+), 50 deletions(-)