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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 4, 2022 at 7:25 PM Benjamin Gaignard
<benjamin.gaignard@xxxxxxxxxxxxx> wrote:
>
>
> Le 04/03/2022 à 11:15, xinlei.lee@xxxxxxxxxxxx a écrit :
> > From: Xinlei Lee <xinlei.lee@xxxxxxxxxxxx>
> >
> > 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@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@14014000/panel@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@14014000/panel@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@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-mediatek

Attachment: config-5.17.0-rc6-next-20220307
Description: Binary data


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux