Re: [PATCH v3 00/56] Convert DSI code to use drm_mipi_dsi and drm_panel

H. Nikolaus Schaller
2020-11-07T12:32:08Z

Hi Tomi,

> Am 06.11.2020 um 16:04 schrieb Tomi Valkeinen <tomi.valkeinen@ti.com>:
>
>>
>> I took the driver and make my omap4-sdp dts to use it. It probes for me, but stop after that:
>>
>> [ 119.346374] omapdss_dss 58000000.dss: supply vdda_video not found, using dummy regulator
>> [ 119.358398] DSS: OMAP DSS rev 4.0
>> [ 119.680053] panel-dsi-cm 58004000.encoder.0: failed to get video timing, using defaults
>> [ 119.695709] panel-dsi-cm 58004000.encoder.0: supply vpnl not found, using dummy regulator
>> [ 119.711242] panel-dsi-cm 58004000.encoder.0: supply vddi not found, using dummy regulator
>> [ 119.769470] panel-btl507212-w677l 58005000.encoder.0: w677l_probe
>> [ 119.779388] panel-btl507212-w677l 58005000.encoder.0: w677l_probe ok
>> [ 119.846679] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops [omapdrm])
>> [ 119.858673] omapdss_dss 58000000.dss: bound 58004000.encoder (ops dsi_component_ops [omapdrm])
>> [ 119.882629] omapdss_dss 58000000.dss: bound 58005000.encoder (ops dsi_component_ops [omapdrm])
>> [ 119.902069] omapdss_dss 58000000.dss: bound 58006000.encoder (ops hdmi4_component_ops [omapdrm])
>> [ 119.962066] dmm 4e000000.dmm: initialized all PAT entries
>> [ 120.014770] panel-btl507212-w677l 58005000.encoder.0: w677l_get_modes
>>
>> I didn't debug yet where it's hanging. So you're not even getting the probe?
>
> Oh, it's stuck in a loop trying to calculate suitable timings. It doesn't find it, as I'm running on
> omap4, with just 2 datalanes instead of 4 which the panel needs. Looks like the code could use some
> improvement there.
>
> Anyway, possibly on omap5 it goes fine.

I have set up based on our complete letux-5.10-rc2 tree and maybe using our private config makes
the difference. Anyways, the driver is now probed and I can see the call to w677l_get_modes().

I have still no image and no calls to prepare/unprepare etc. but now I can start to debug on omap5.
And hopefully we are close to push the panel driver for review. And in a second step some device
tree for the Pyra.

The new tree is here: https://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/work-pyra-panel

BR and thanks,
Nikolaus