drm/bridge: lt8912b: set hdmi or dvi mode
authorPhilippe Schenker <philippe.schenker@toradex.com>
Thu, 22 Sep 2022 12:43:04 +0000 (14:43 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Fri, 23 Sep 2022 09:19:10 +0000 (09:19 +0000)
commit6dd1de12e1243f2013e4fabf31e99e63b1a860d0
treef2e179214835c44696fbbd7662d2d77b242411fa
parentda73a94fa282f78d485bd0aab36c8ac15b6f792c
drm/bridge: lt8912b: set hdmi or dvi mode

The Lontium LT8912 does have a setting for DVI or HDMI. This patch reads
from EDID what the display needs and sets it accordingly.

Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge")
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Acked-by: Adrien Grassein <adrien.grassein@gmail.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220922124306.34729-3-dev@pschenker.ch
drivers/gpu/drm/bridge/lontium-lt8912b.c