drm/panel: boe-tv101wum-nl6: Completely pull GPW to VGL before TP term
authorRuihai Zhou <zhouruihai@huaqin.corp-partner.google.com>
Sat, 7 Oct 2023 06:49:49 +0000 (14:49 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 10 Oct 2023 08:38:17 +0000 (10:38 +0200)
commit258dd5e6e65995ee85a941eed9a06708a36b1bfe
tree49687cc677e97f6efaa862e2576ee1144de6690f
parent91398b413d03660fd5828f7b4abc64e884b98069
drm/panel: boe-tv101wum-nl6: Completely pull GPW to VGL before TP term

The sta_himax83102 panel sometimes shows abnormally flickering
horizontal lines. The front gate output will precharge the X point of
the next pole circuit before TP(TouchPanel Enable) term starts, and wait
until the end of the TP term to resume the CLK. For this reason, the X
point must be maintained during the TP term. In abnormal case, we
measured a slight leakage at point X. This because during the TP term,
the GPW does not fully pull the VGL low, causing the TFT to not be
closed tightly.

To fix this, we completely pull GPW to VGL before entering the TP term.
This will ensure that the TFT is closed tightly and prevent the abnormal
display.

Fixes: 1bc2ef065f13 ("drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI panel")
Signed-off-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231007064949.22668-1-zhouruihai@huaqin.corp-partner.google.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231007064949.22668-1-zhouruihai@huaqin.corp-partner.google.com
drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c