drm/sun4i: Enable the output on the pins (tcon0)
authorOndrej Jirman <megous@megous.com>
Thu, 22 Feb 2018 16:12:17 +0000 (17:12 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 26 Feb 2018 09:12:52 +0000 (10:12 +0100)
commit80b79e31c4195731464d96716f15716f38a555eb
treee28b6a7f5ffda4ead5760aca57b11c698e2aa751
parentc20bb155c2c5acb775f68be5d84fe679687c3c1e
drm/sun4i: Enable the output on the pins (tcon0)

I noticed that with 4.16-rc1 LVDS output on A83T based TBS A711 tablet doesn't
work (there's output but it's garbled). I compared some older patches for LVDS
support with the mainlined ones and this change is missing from mainline Linux.

I don't know what the register does exactly and the harcoded register value
doesn't inspire much confidence that it will work in a general case, so I'm
sending this RFC.

This patch fixes the issue on A83T.

Signed-off-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180222161217.23904-1-megous@megous.com
drivers/gpu/drm/sun4i/sun4i_tcon.c