Skip to content

Commit ceb515b

Browse files
Marek Vasutrobertfoss
authored andcommitted
drm/bridge: ti-sn65dsi83: Add TI SN65DSI83 and SN65DSI84 driver
Add driver for TI SN65DSI83 Single-link DSI to Single-link LVDS bridge and TI SN65DSI84 Single-link DSI to Dual-link or 2x Single-link LVDS bridge. TI SN65DSI85 is unsupported due to lack of hardware to test on, but easy to add. The driver operates the chip via I2C bus. Currently the LVDS clock are always derived from DSI clock lane, which is the usual mode of operation. Support for clock from external oscillator is not implemented, but it is easy to add if ever needed. Only RGB888 pixel format is implemented, the LVDS666 is not supported, but could be added if needed. Reviewed-by: Linus Walleij <[email protected]> Reviewed-by: Frieder Schrempf <[email protected]> Tested-by: Frieder Schrempf <[email protected]> Tested-by: Adam Ford <[email protected]> Signed-off-by: Marek Vasut <[email protected]> Cc: Douglas Anderson <[email protected]> Cc: Jagan Teki <[email protected]> Cc: Laurent Pinchart <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Loic Poulain <[email protected]> Cc: Philippe Schenker <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Valentin Raevsky <[email protected]> To: [email protected] Signed-off-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent db2aad0 commit ceb515b

File tree

3 files changed

+720
-0
lines changed

3 files changed

+720
-0
lines changed

drivers/gpu/drm/bridge/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,16 @@ config DRM_TI_TFP410
285285
help
286286
Texas Instruments TFP410 DVI/HDMI Transmitter driver
287287

288+
config DRM_TI_SN65DSI83
289+
tristate "TI SN65DSI83 and SN65DSI84 DSI to LVDS bridge"
290+
depends on OF
291+
select DRM_KMS_HELPER
292+
select REGMAP_I2C
293+
select DRM_PANEL
294+
select DRM_MIPI_DSI
295+
help
296+
Texas Instruments SN65DSI83 and SN65DSI84 DSI to LVDS Bridge driver
297+
288298
config DRM_TI_SN65DSI86
289299
tristate "TI SN65DSI86 DSI to eDP bridge"
290300
depends on OF

drivers/gpu/drm/bridge/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ obj-$(CONFIG_DRM_TOSHIBA_TC358767) += tc358767.o
2323
obj-$(CONFIG_DRM_TOSHIBA_TC358768) += tc358768.o
2424
obj-$(CONFIG_DRM_TOSHIBA_TC358775) += tc358775.o
2525
obj-$(CONFIG_DRM_I2C_ADV7511) += adv7511/
26+
obj-$(CONFIG_DRM_TI_SN65DSI83) += ti-sn65dsi83.o
2627
obj-$(CONFIG_DRM_TI_SN65DSI86) += ti-sn65dsi86.o
2728
obj-$(CONFIG_DRM_TI_TFP410) += ti-tfp410.o
2829
obj-$(CONFIG_DRM_TI_TPD12S015) += ti-tpd12s015.o

0 commit comments

Comments
 (0)