]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/ipv3: add CONFIG_OF dependency for DRM_OF_DISPLAY_MODE_BRIDGE
authorArnd Bergmann <arnd@arndb.de>
Wed, 29 Apr 2026 14:00:11 +0000 (16:00 +0200)
committerLuca Ceresoli <luca.ceresoli@bootlin.com>
Mon, 4 May 2026 10:03:59 +0000 (12:03 +0200)
Without this, not all dependencies are met here.

  Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && DRM_BRIDGE [=y] && OF [=n]
  Selected by [y]:
  - DRM_IMX_PARALLEL_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_IMX [=y]
  - DRM_IMX_LDB [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_IMX [=y] && COMMON_CLK [=y]

Fixes: ba2db93cf3d5 ("drm/bridge: Move legacy bridge driver out of imx directory for multi-platform use")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Damon Ding <damon.ding@rock-chips.com>
Link: https://patch.msgid.link/20260429140024.192432-1-arnd@kernel.org
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
drivers/gpu/drm/imx/ipuv3/Kconfig

index 351dc65913eb8ab45b0055a2c4aa419dea125eb3..3ca237515e463d63602fa18a48c0d05b7bb565e3 100644 (file)
@@ -13,6 +13,7 @@ config DRM_IMX
 config DRM_IMX_PARALLEL_DISPLAY
        tristate "Support for parallel displays"
        depends on DRM_IMX
+       depends on OF
        select DRM_BRIDGE
        select DRM_BRIDGE_CONNECTOR
        select DRM_DISPLAY_HELPER
@@ -33,6 +34,7 @@ config DRM_IMX_LDB
        tristate "Support for LVDS displays"
        depends on DRM_IMX
        depends on COMMON_CLK
+       depends on OF
        select MFD_SYSCON
        select DRM_BRIDGE
        select DRM_BRIDGE_CONNECTOR