drm/bridge: microchip-lvds: fix bus format mismatch with VESA displays
authorDharma Balasubiramani <dharma.b@microchip.com>
Wed, 25 Jun 2025 08:41:55 +0000 (14:11 +0530)
committerManikandan Muralidharan <manikandan.m@microchip.com>
Wed, 6 May 2026 09:46:59 +0000 (15:16 +0530)
commit57f68ed1f08cd10f51a9091645fd5dfcc369a885
tree311cf5a46816a499231323bdea001b87f06c48c9
parentc4cbe5d9e87d220c16075e06644fd7b04f744527
drm/bridge: microchip-lvds: fix bus format mismatch with VESA displays

The LVDS controller was hardcoded to JEIDA mapping, which leads to
distorted output on panels expecting VESA mapping.

Update the driver to dynamically select the appropriate mapping and
pixel size based on the panel's advertised media bus format. This
ensures compatibility with both JEIDA and VESA displays.

Signed-off-by: Sandeep Sheriker M <sandeep.sheriker@microchip.com>
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patch.msgid.link/20250625-microchip-lvds-v6-3-7ce91f89d35a@microchip.com
Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com>
drivers/gpu/drm/bridge/microchip-lvds.c