drm/bridge: lt9611: use HDMI Connector helper to set InfoFrames
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 15 Jun 2024 17:53:30 +0000 (20:53 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 12 Oct 2024 08:09:55 +0000 (11:09 +0300)
commitac4627c304e7a09068d0e2dba34d21e492649f8d
tree36b8750c2f6603b93da815a576b1d7317897f462
parent2d343723c7e1f9f6d64f721f07cfdfc2993758d1
drm/bridge: lt9611: use HDMI Connector helper to set InfoFrames

Use new HDMI Connector helpers in the Lontium LT9611 bridge driver.
Program InfoFrames using the helper's callbacks. Also use TMDS char rate
validation callback to filter out modes, instead of hardcoding 4k@30.

The Audio InfoFrame isn't yet handled by these helpers, it requires
additional drm_bridge interface changes.

Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240615-drm-bridge-hdmi-connector-v1-1-d59fc7865ab2@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/bridge/Kconfig
drivers/gpu/drm/bridge/lontium-lt9611.c