drm/bridge: dw-hdmi: add support for YUV420 output
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 1 Feb 2019 12:07:49 +0000 (12:07 +0000)
committerAndrzej Hajda <a.hajda@samsung.com>
Fri, 1 Feb 2019 12:15:10 +0000 (13:15 +0100)
commitba9877e2361c46cae3841181aea61e55fc2309b9
treec83930f4412c644a89413a136af02fc27ad23039
parent74f6d1e1cbfd8ba399e4fb525954a5c5e8b117df
drm/bridge: dw-hdmi: add support for YUV420 output

In order to support the HDMI2.0 YUV420 display modes, this patch
adds support for the YUV420 TMDS Clock divided by 2 and the controller
passthrough mode.

YUV420 Synopsys PHY support will need some specific configuration table
to support theses modes.

This patch is based on work from Zheng Yang <zhengyang@rock-chips.com> in
the Rockchip Linux 4.4 BSP at [1]

[1] https://github.com/rockchip-linux/kernel/tree/release-4.4

Cc: Zheng Yang <zhengyang@rock-chips.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1549022873-40549-5-git-send-email-narmstrong@baylibre.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c