drm/bridge: add lvds controller support for sam9x7
authorDharma Balasubiramani <dharma.b@microchip.com>
Sun, 21 Apr 2024 01:10:48 +0000 (06:40 +0530)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 23 Apr 2024 07:29:43 +0000 (09:29 +0200)
commit179b0769fc5fc193d7837bdcb6ddee118a0fa9b8
tree2332bb86bdd8cfd0251c9ca5e6df7faca7b5d583
parentc24177ca3b27e5a7ddaab8d330cedecd7eb9244a
drm/bridge: add lvds controller support for sam9x7

Add a new LVDS controller driver for sam9x7 which does the following:
- Prepares and enables the LVDS Peripheral clock
- Defines its connector type as DRM_MODE_CONNECTOR_LVDS and adds itself
to the global bridge list.
- Identifies its output endpoint as panel and adds it to the encoder
display pipeline
- Enables the LVDS serializer

Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com>
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
Acked-by: Hari Prasath Gujulan Elango <hari.prasathge@microchip.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240421011050.43265-3-dharma.b@microchip.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240421011050.43265-3-dharma.b@microchip.com
drivers/gpu/drm/bridge/Kconfig
drivers/gpu/drm/bridge/Makefile
drivers/gpu/drm/bridge/microchip-lvds.c [new file with mode: 0644]