]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm: renesas: Move RZ/G2L MIPI DSI driver to rz-du
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tue, 25 Jun 2024 12:32:44 +0000 (13:32 +0100)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Mon, 26 Aug 2024 09:47:04 +0000 (12:47 +0300)
All the RZ/G2L DU specific components are located under the rz-du folder,
so it makes sense to move the RZ/G2L MIPI DSI driver there instead of
keeping it in the rcar-du folder. This change improves the organization
and modularity of the driver configuration by grouping related settings together.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240625123244.200533-1-prabhakar.mahadev-lad.rj@bp.renesas.com
drivers/gpu/drm/renesas/rcar-du/Kconfig
drivers/gpu/drm/renesas/rcar-du/Makefile
drivers/gpu/drm/renesas/rz-du/Kconfig
drivers/gpu/drm/renesas/rz-du/Makefile
drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c [moved from drivers/gpu/drm/renesas/rcar-du/rzg2l_mipi_dsi.c with 100% similarity]
drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi_regs.h [moved from drivers/gpu/drm/renesas/rcar-du/rzg2l_mipi_dsi_regs.h with 100% similarity]

index c17e7c50492c50f843b4576a0375bd28deb0fb96..be86ecb9f5593205a44cb90106b2eaeb6f1242b7 100644 (file)
@@ -60,14 +60,6 @@ config DRM_RCAR_MIPI_DSI
        select DRM_MIPI_DSI
        select RESET_CONTROLLER
 
-config DRM_RZG2L_MIPI_DSI
-       tristate "RZ/G2L MIPI DSI Encoder Support"
-       depends on DRM && DRM_BRIDGE && OF
-       depends on ARCH_RENESAS || COMPILE_TEST
-       select DRM_MIPI_DSI
-       help
-         Enable support for the RZ/G2L Display Unit embedded MIPI DSI encoders.
-
 config DRM_RCAR_VSP
        bool "R-Car DU VSP Compositor Support" if ARM
        default y if ARM64
index b8f2c82651d9dc80e10a8910895e48c36802e271..6f132325c8b739a1f1aa56efc9d478e82eac13d6 100644 (file)
@@ -14,5 +14,3 @@ obj-$(CONFIG_DRM_RCAR_DU)             += rcar-du-drm.o
 obj-$(CONFIG_DRM_RCAR_DW_HDMI)         += rcar_dw_hdmi.o
 obj-$(CONFIG_DRM_RCAR_LVDS)            += rcar_lvds.o
 obj-$(CONFIG_DRM_RCAR_MIPI_DSI)                += rcar_mipi_dsi.o
-
-obj-$(CONFIG_DRM_RZG2L_MIPI_DSI)       += rzg2l_mipi_dsi.o
index 5f0db2c5fee6c73cb3119ddd532da2701b3c1ce3..8ec14271ebba2e8dbd905a2f5ff6c521f99e28a0 100644 (file)
@@ -10,3 +10,11 @@ config DRM_RZG2L_DU
        help
          Choose this option if you have an RZ/G2L alike chipset.
          If M is selected the module will be called rzg2l-du-drm.
+
+config DRM_RZG2L_MIPI_DSI
+       tristate "RZ/G2L MIPI DSI Encoder Support"
+       depends on DRM && DRM_BRIDGE && OF
+       depends on ARCH_RENESAS || COMPILE_TEST
+       select DRM_MIPI_DSI
+       help
+         Enable support for the RZ/G2L Display Unit embedded MIPI DSI encoders.
index 663b82a2577fbc18dccd5802181c3356eb5df132..2987900ea6b69630fa6ba61d2ba7bafac54a467b 100644 (file)
@@ -6,3 +6,5 @@ rzg2l-du-drm-y := rzg2l_du_crtc.o \
 
 rzg2l-du-drm-$(CONFIG_VIDEO_RENESAS_VSP1)      += rzg2l_du_vsp.o
 obj-$(CONFIG_DRM_RZG2L_DU)             += rzg2l-du-drm.o
+
+obj-$(CONFIG_DRM_RZG2L_MIPI_DSI)       += rzg2l_mipi_dsi.o