drm/sun4i: Add has_channel_0 TCON quirk
authorJernej Skrabec <jernej.skrabec@siol.net>
Wed, 14 Feb 2018 20:09:01 +0000 (21:09 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 16 Feb 2018 08:35:16 +0000 (09:35 +0100)
commit34d698f6e349df991effe424b9500abbf0d43ff0
treeeeef371c990c6ea0ce29c6b3ef984d632425396b
parenta17a2611af5081d5d7dc7ebfd0291d67671689d2
drm/sun4i: Add has_channel_0 TCON quirk

Some TCONs on newer SoCs doesn't support channel 0, since they are meant
to be used only with TV or HDMI encoder.

Prepare support for them with adding has_channel_0 quirk.

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180214200906.31509-8-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun4i_tcon.c
drivers/gpu/drm/sun4i/sun4i_tcon.h