[RFC PATCH] drm: omapdrm: dsi: add refsel also for omap4
Andreas Kemnade
andreas at kemnade.info
Sun Sep 17 14:34:35 UTC 2023
Am Wed, 13 Sep 2023 15:58:11 +0300
schrieb Tomi Valkeinen <tomi.valkeinen at ideasonboard.com>:
> On 13/09/2023 15:48, Tony Lindgren wrote:
> > * Tomi Valkeinen <tomi.valkeinen at ideasonboard.com> [230913 12:11]:
> >> I'm somewhat sure that the upstream driver used to work on omap4
> >> sdp, which has two DSI panels. But I can't even remember what
> >> omap4 version it had.
> >
> > I think those were both dsi command mode panels though, not video
> > mode?
>
> Yes, true. If the PLL is totally wrong due to refsel, I'm sure a
> command mode panel would also fail. But it's true that video mode
> panels are more sensitive to the clock rate.
>
hmm, still analyzing:
What works:
OMAP5 + Pyra (Videomode display requiring some init commands)
some command mode stuff with OMAP4 (droid4)
What does not work:
OMAP4 with some dsi videomode to something else (LVDS/DPI) converter
if init commands are sent through dsi, then these commands fail
with bta sync problems.
So sending init commands to video mode displays seems not to be a
principal problem.
But looking deeper at the drivers, there seem to be commands sent
to the converters to configure lanes on that side, e.g.
tc358762_write(ctx, DSI_LANEENABLE,
LANEENABLE_L0EN | LANEENABLE_CLEN);
There might be trouble if these are not sent in low power mode.
So probably the next analyzing step would be to check if things
are really sent in low power mode.
Regards,
Andreas
More information about the dri-devel
mailing list