drm/bridge: fsl-ldb: Add i.MX93 LDB support
authorLiu Ying <victor.liu@nxp.com>
Mon, 23 Jan 2023 02:14:49 +0000 (10:14 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 23 Jan 2023 08:46:38 +0000 (09:46 +0100)
commit48865413c9ddab68a774b506b1940af0f6b6089d
treec454271a15ef9f3782568f0f219ad29949a84ac3
parent5e68a0ca59c0891d6b7da8ae7f6764565ff67c6d
drm/bridge: fsl-ldb: Add i.MX93 LDB support

Same to i.MX8mp LDB, i.MX93 LDB is controlled by mediamix blk-ctrl
through LDB_CTRL and LVDS_CTRL registers.  i.MX93 LDB supports only
one LVDS channel(channel 0) and it's LVDS_CTRL register bit1 is used
as LVDS_EN instead of CH1_EN.  Add i.MX93 LDB support in the existing
i.MX8mp LDB bridge driver by adding i.MX93 LDB compatible string and
device data(to reflect different register offsets and LVDS_CTRL register
bit1 definition).

Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230123021449.969243-3-victor.liu@nxp.com
drivers/gpu/drm/bridge/fsl-ldb.c