drm/bridge: ite-it6263: Support VESA-24 input format
authorTommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Thu, 5 Dec 2024 08:02:10 +0000 (09:02 +0100)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 10 Dec 2024 01:23:47 +0000 (03:23 +0200)
commit919b1458ccfd33ead891fa4ad1e1d06016f5a20c
tree62142bc9bbd1a3831248919f5c2f690fa2f57fb2
parent33f029af89791f5d55cbfcb72a6c1b32a8905584
drm/bridge: ite-it6263: Support VESA-24 input format

Introduce it6263_is_input_bus_fmt_valid() and refactor the
it6263_bridge_atomic_get_input_bus_fmts() function to support VESA-24
format by selecting the LVDS input format based on the LVDS data mapping
and thereby support both JEIDA-24 and VESA-24 input formats.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241205080210.1285385-1-tommaso.merciai.xr@bp.renesas.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/bridge/ite-it6263.c