]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/bridge: cdns-dsi: Move to drm/bridge/cadence
authorRahul T R <r-ravikumar@ti.com>
Tue, 3 Jan 2023 10:19:49 +0000 (15:49 +0530)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Tue, 17 Jan 2023 15:57:34 +0000 (17:57 +0200)
Move the cadence dsi bridge under drm/bridge/cadence directory, to
prepare for adding j721e wrapper support

Signed-off-by: Rahul T R <r-ravikumar@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230103101951.10963-4-r-ravikumar@ti.com
drivers/gpu/drm/bridge/Kconfig
drivers/gpu/drm/bridge/Makefile
drivers/gpu/drm/bridge/cadence/Kconfig
drivers/gpu/drm/bridge/cadence/Makefile
drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c [moved from drivers/gpu/drm/bridge/cdns-dsi.c with 100% similarity]

index 57946d80b02dbb906291adf272d3831f7532616e..8b2226f72b2459647529676f803a136b546fae95 100644 (file)
@@ -15,17 +15,6 @@ config DRM_PANEL_BRIDGE
 menu "Display Interface Bridges"
        depends on DRM && DRM_BRIDGE
 
-config DRM_CDNS_DSI
-       tristate "Cadence DPI/DSI bridge"
-       select DRM_KMS_HELPER
-       select DRM_MIPI_DSI
-       select DRM_PANEL_BRIDGE
-       select GENERIC_PHY_MIPI_DPHY
-       depends on OF
-       help
-         Support Cadence DPI to DSI bridge. This is an internal
-         bridge and is meant to be directly embedded in a SoC.
-
 config DRM_CHIPONE_ICN6211
        tristate "Chipone ICN6211 MIPI-DSI/RGB Converter bridge"
        depends on OF
index 1884803c6860dcee4869d20aed3790337ee0f256..52f6e8b4a821784b15207af52c99ebc66b9fac5f 100644 (file)
@@ -1,5 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_DRM_CDNS_DSI) += cdns-dsi.o
 obj-$(CONFIG_DRM_CHIPONE_ICN6211) += chipone-icn6211.o
 obj-$(CONFIG_DRM_CHRONTEL_CH7033) += chrontel-ch7033.o
 obj-$(CONFIG_DRM_CROS_EC_ANX7688) += cros-ec-anx7688.o
index 1d06182bea71091b3660acdd03f6f83c7aba6085..5f39859dcfdde227b3b61b1ebc8a8b119927641f 100644 (file)
@@ -1,4 +1,15 @@
 # SPDX-License-Identifier: GPL-2.0-only
+config DRM_CDNS_DSI
+       tristate "Cadence DPI/DSI bridge"
+       select DRM_KMS_HELPER
+       select DRM_MIPI_DSI
+       select DRM_PANEL_BRIDGE
+       select GENERIC_PHY_MIPI_DPHY
+       depends on OF
+       help
+         Support Cadence DPI to DSI bridge. This is an internal
+         bridge and is meant to be directly embedded in a SoC.
+
 config DRM_CDNS_MHDP8546
        tristate "Cadence DPI/DP bridge"
        select DRM_DISPLAY_DP_HELPER
index 4d2db8df1bc6e97cdfab0aee589824f83825d53e..9e2f34c84480c60e5755ddf48d24cc7478727647 100644 (file)
@@ -1,4 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
+obj-$(CONFIG_DRM_CDNS_DSI) += cdns-dsi.o
+cdns-dsi-y := cdns-dsi-core.o
 obj-$(CONFIG_DRM_CDNS_MHDP8546) += cdns-mhdp8546.o
 cdns-mhdp8546-y := cdns-mhdp8546-core.o cdns-mhdp8546-hdcp.o
 cdns-mhdp8546-$(CONFIG_DRM_CDNS_MHDP8546_J721E) += cdns-mhdp8546-j721e.o