mbox series

[RFC,0/3] Init flow fixes for Samsung DSIM and TI SN65DSI84

Message ID 20230418102947.876621-1-frieder@fris.de (mailing list archive)
Headers show
Series Init flow fixes for Samsung DSIM and TI SN65DSI84 | expand

Message

Frieder Schrempf April 18, 2023, 10:29 a.m. UTC
From: Frieder Schrempf <frieder.schrempf@kontron.de>

This patchset contains a proposal to fix the initialization flow for
the display pipeline used on our i.MX8MM Kontron boards:

  i.MX8MM LCDIF -> i.MX8MM DSIM -> TI SN65DSI84 -> 7" LVDS Panel

Without these changes the display works most of the time, but fails
to come up occassionally when booting or doing on/off cycling tests
with:

  echo 0 > /sys/devices/platform/soc@0/32c00000.bus/32e00000.lcdif/graphics/fb0/blank
  echo 1 > /sys/devices/platform/soc@0/32c00000.bus/32e00000.lcdif/graphics/fb0/blank

I also added a bit of a speculative patch 3/3 for cleaning up the
Exynos init flow, which is the main reason this is sent as RFC as
I have no idea if this is correct/working at all.

Frieder Schrempf (3):
  drm: bridge: samsung-dsim: Fix i.MX8M enable flow to meet spec
  drm/bridge: ti-sn65dsi83: Fix enable/disable flow to meet spec
  drm: bridge: samsung-dsim: Remove init quirk for Exynos

 drivers/gpu/drm/bridge/samsung-dsim.c | 34 +++++++++++++++------------
 drivers/gpu/drm/bridge/ti-sn65dsi83.c | 19 ++++++++++++---
 2 files changed, 35 insertions(+), 18 deletions(-)