[PATCH v2, 0/4] Cooperate with DSI RX devices to modify dsi funcs and delay mipi high to cooperate with panel sequence

Hsin-Yi Wang hsinyi at chromium.org
Tue Mar 8 09:12:21 UTC 2022


On Fri, Mar 4, 2022 at 7:25 PM Benjamin Gaignard
<benjamin.gaignard at collabora.com> wrote:
>
>
> Le 04/03/2022 à 11:15, xinlei.lee at mediatek.com a écrit :
> > From: Xinlei Lee <xinlei.lee at mediatek.com>
> >
> > In upstream-v5.8, dsi_enable will operate panel_enable, but this
> > modification has been moved in v5.9. In order to ensure the timing of
> > dsi_power_on/off and the timing of pulling up/down the MIPI signal,
> > the modification of v5.9 is synchronized in this series of patches.
>
> Hello,
>
> I'm trying to debug an issue on mt8183 kukui krane sku176 device.
> The problem is that boe-tv101wum-nl6 panel isn't working.
> At boot time I can see these logs:
> panel-boe-tv101wum-nl6 14014000.dsi.0: failed to write command 1
> panel-boe-tv101wum-nl6 14014000.dsi.0: failed to init panel: -62
> and a DSI interrupt time out.
>
> Since I believe the problem is link to DSI/panel enabling sequence
> I have try this series but that doesn't solve the issue.
> I notice that when going out of deep sleep mode panel is functional.
>
> May you have any idea to debug/solve this problem ?
>
Hi Benjamin,

I think this might not be related to this series. Which kernel are you using?
I tried the krane sku176 with linux-next 5.17-rc6
(519dd6c19986696f59847ff8bf930436ccffd9a1 (tag: next-20220307,
linux-next/master) with or without this series, both can get the display on.

dsi related message:
[    0.206330] mediatek-drm mediatek-drm.1.auto: Adding component
match for /soc/dsi at 14014000
[    4.567577] panel-boe-tv101wum-nl6 14014000.dsi.0: supply pp3300
not found, using dummy regulator
[    4.567732] panel-boe-tv101wum-nl6 14014000.dsi.0: GPIO lookup for
consumer enable
[    4.567738] panel-boe-tv101wum-nl6 14014000.dsi.0: using device
tree for GPIO lookup
[    4.567757] of_get_named_gpiod_flags: parsed 'enable-gpios'
property of node '/soc/dsi at 14014000/panel at 0[0]' - status (0)
[    4.585884] panel-boe-tv101wum-nl6 14014000.dsi.0: supply pp3300
not found, using dummy regulator
[    4.586037] panel-boe-tv101wum-nl6 14014000.dsi.0: GPIO lookup for
consumer enable
[    4.586042] panel-boe-tv101wum-nl6 14014000.dsi.0: using device
tree for GPIO lookup
[    4.586059] of_get_named_gpiod_flags: parsed 'enable-gpios'
property of node '/soc/dsi at 14014000/panel at 0[0]' - status (0)
[    4.587430] mediatek-drm mediatek-drm.1.auto: bound 14014000.dsi
(ops 0xffffffd369a752b8)


Maybe some config is not enabled?



> Regards,
> Benjamin
>
> >
> > Changes since v1:
> > 1. Dsi sequence marked with patch adjustment
> > 2. Fixes: mtk_dsi: Use the drm_panel_bridge
> >
> > Jitao Shi (3):
> >    drm/mediatek: Adjust the timing of mipi signal from LP00 to LP11
> >    drm/mediatek: Separate poweron/poweroff from enable/disable and define
> >      new funcs
> >    drm/mediatek: keep dsi as LP00 before dcs cmds transfer
> >
> > Xinlei Lee (1):
> >    drm/mediatek: Add pull-down MIPI operation in mtk_dsi_poweroff
> >      function
> >
> >   drivers/gpu/drm/mediatek/mtk_dsi.c | 73 ++++++++++++++++++++----------
> >   1 file changed, 49 insertions(+), 24 deletions(-)
> >
>
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-5.17.0-rc6-next-20220307
Type: application/octet-stream
Size: 200058 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220308/a7a3ed31/attachment-0001.obj>


More information about the dri-devel mailing list