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)
committerRobert Foss <robert.foss@linaro.org>
Wed, 28 Sep 2022 14:19:55 +0000 (16:19 +0200)
commitd25404a359b24a887db56b52064b754f79921bb7
treecb4216b6ae25d95307fa6f72e755c04214da8b01
parente3e7f178d4d82743786d5a002b714b5d516f5870
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: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220922124306.34729-3-dev@pschenker.ch
drivers/gpu/drm/bridge/lontium-lt8912b.c