Skip to content

Commit

Permalink
drm: bridge: Move exynos_drm_dsi into bridges
Browse files Browse the repository at this point in the history
The MIPI DSI IP used in Exynos and i.MX8MM are based
Samsung MIPI DSIM bridge.
   
In order to access the common bridge between platforms
the ideal way to push the driver into the bridge area.
   
So, this patch will move the exynos_drm_dsi.c driver
into samsung-dsim.c and do the necessary function name
changes.
   
This would help to improve the bridge driver in future
patches in order to make use of different SoC families
and platforms.

The bridge now support two implementations,

A. With component_ops and exynos specific code exclusively
   for exynos dsi drivers and it's legacy bindings.

B. Without componenet_ops for newly implemented bridges
   and its users like i.MX8MM.

The future plan is to fix the implementation A) by dropping
component_ops and fixing exynos specific code in order to
make the bridge more mature to use.

Updated MAINTAINERS file for this bridge with exynos drm
maintainers along with Andrzej as he is the original author.

Tomasz Figa has been not included in MAINTAINERS as he is
not available via samsung.com.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
  • Loading branch information
openedev authored and intel-lab-lkp committed Jul 4, 2021
1 parent bb55cc4 commit ac6267c
Show file tree
Hide file tree
Showing 6 changed files with 246 additions and 224 deletions.
11 changes: 11 additions & 0 deletions MAINTAINERS
Expand Up @@ -5872,6 +5872,17 @@ T: git git://anongit.freedesktop.org/drm/drm-misc
F: Documentation/devicetree/bindings/display/panel/samsung,lms397kf04.yaml
F: drivers/gpu/drm/panel/panel-samsung-db7430.c

DRM DRIVER FOR SAMSUNG MIPI DSIM BRIDGE
M: Inki Dae <inki.dae@samsung.com>
M: Joonyoung Shim <jy0922.shim@samsung.com>
M: Seung-Woo Kim <sw0312.kim@samsung.com>
M: Kyungmin Park <kyungmin.park@samsung.com>
M: Andrzej Hajda <a.hajda@samsung.com>
M: Jagan Teki <jagan@amarulasolutions.com>
S: Maintained
T: git git://anongit.freedesktop.org/drm/drm-misc
F: drivers/gpu/drm/bridge/samsung-dsim.c

DRM DRIVER FOR SITRONIX ST7703 PANELS
M: Guido Günther <agx@sigxcpu.org>
R: Purism Kernel Team <kernel@puri.sm>
Expand Down
15 changes: 15 additions & 0 deletions drivers/gpu/drm/bridge/Kconfig
Expand Up @@ -190,6 +190,21 @@ config DRM_PARADE_PS8640
The PS8640 is a high-performance and low-power
MIPI DSI to eDP converter

config DRM_SAMSUNG_DSIM
tristate "Samsung MIPI DSIM bridge driver"
depends on DRM
depends on COMMON_CLK
depends on OF && HAS_IOMEM
depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
select DRM_KMS_HELPER
select DRM_MIPI_DSI
select DRM_PANEL_BRIDGE
select REGMAP_MMIO
help
This enables the Samsung MIPI DSIM bridge controller driver.
This MIPI DSIM bridge can be found it on Exynos and NXP's
i.MX8M Mini and Nano SoC's.

config DRM_SIL_SII8620
tristate "Silicon Image SII8620 HDMI/MHL bridge"
depends on OF
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/bridge/Makefile
Expand Up @@ -12,6 +12,7 @@ obj-$(CONFIG_DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW) += megachips-stdpxxxx-ge-b850v
obj-$(CONFIG_DRM_NXP_PTN3460) += nxp-ptn3460.o
obj-$(CONFIG_DRM_PARADE_PS8622) += parade-ps8622.o
obj-$(CONFIG_DRM_PARADE_PS8640) += parade-ps8640.o
obj-$(CONFIG_DRM_SAMSUNG_DSIM) += samsung-dsim.o
obj-$(CONFIG_DRM_SIL_SII8620) += sil-sii8620.o
obj-$(CONFIG_DRM_SII902X) += sii902x.o
obj-$(CONFIG_DRM_SII9234) += sii9234.o
Expand Down

0 comments on commit ac6267c

Please sign in to comment.