]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: Add support for D1 TCONs
authorSamuel Holland <samuel@sholland.org>
Sun, 24 Apr 2022 16:26:31 +0000 (11:26 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 26 Apr 2022 12:25:57 +0000 (14:25 +0200)
commit6edeb2caf9e2c898221bcc6fa81073a41e390ccd
treee4bfb4f8afbe65da89773f7efd21100f166f50f9
parent8d10ef650e09aed59ef8dfc177173029d6aa6acf
drm/sun4i: Add support for D1 TCONs

D1 has a TCON TOP, so its quirks are similar to those for the R40 TCONs.
While there are some register changes, the part of the TCON TV supported
by the driver matches the R40 quirks, so that quirks structure can be
reused. D1 has the first supported TCON LCD with a TCON TOP, so the TCON
LCD needs a new quirks structure.

D1's TCON LCD hardware supports LVDS; in fact it provides dual-link LVDS
from a single TCON. However, it comes with a brand new LVDS PHY. Since
this PHY has not been tested, leave out LVDS driver support for now.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220424162633.12369-14-samuel@sholland.org
drivers/gpu/drm/sun4i/sun4i_tcon.c