drm: bridge: Generalize Exynos-DSI driver into a Samsung DSIM bridge
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 8 Mar 2023 16:39:49 +0000 (22:09 +0530)
committerInki Dae <inki.dae@samsung.com>
Tue, 28 Mar 2023 00:05:41 +0000 (09:05 +0900)
commite7447128ca4a250374d6721ee98e3e3cf99551a6
treed58bf4005023ef6d1b96f2abb27ad998b1988b3a
parent48b64ba81f6b4677f0eba812916f7e90e883764f
drm: bridge: Generalize Exynos-DSI driver into a Samsung DSIM bridge

Samsung MIPI DSIM controller is common DSI IP that can be used in various
SoCs like Exynos, i.MX8M Mini/Nano.

In order to access this DSI controller between various platform SoCs,
the ideal way to incorporate this in the drm stack is via the drm bridge
driver.

We already have a consolidated code for supporting component and bridge
based DRM drivers, so keep the exynos component based code in existing
exynos_drm_dsi.c and move generic bridge code as part of samsung-dsim.c

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
MAINTAINERS
drivers/gpu/drm/bridge/Kconfig
drivers/gpu/drm/bridge/Makefile
drivers/gpu/drm/bridge/samsung-dsim.c [new file with mode: 0644]
drivers/gpu/drm/exynos/Kconfig
drivers/gpu/drm/exynos/exynos_drm_dsi.c
include/drm/bridge/samsung-dsim.h [new file with mode: 0644]