From: Tom Rini Date: Wed, 12 Nov 2025 20:00:04 +0000 (-0600) Subject: video: Tighten some video driver dependencies X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96d1e8b29b4fc3aa150bce520f33966955efa456;p=thirdparty%2Fu-boot.git video: Tighten some video driver dependencies A few video drivers cannot build without access to some platform specific header files. Express those requirements in Kconfig as well. Signed-off-by: Tom Rini --- diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index a12df55f84f..0fc1c161541 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -523,6 +523,7 @@ config ATMEL_LCD_BGR555 config VIDEO_BCM2835 bool "Display support for BCM2835" + depends on ARCH_BCM283X imply VIDEO_DAMAGE help The graphics processor already sets up the display so this driver @@ -755,6 +756,7 @@ source "drivers/video/meson/Kconfig" config VIDEO_MVEBU bool "Armada XP LCD controller" + depends on ARCH_MVEBU imply VIDEO_DAMAGE ---help--- Support for the LCD controller integrated in the Marvell @@ -796,6 +798,7 @@ config NXP_TDA19988 config ATMEL_HLCD bool "Enable ATMEL video support using HLCDC" + depends on ARCH_AT91 imply VIDEO_DAMAGE help HLCDC supports video output to an attached LCD panel. @@ -907,6 +910,7 @@ source "drivers/video/imx/Kconfig" config VIDEO_MXS bool "Enable video support on i.MX28/i.MX6UL/i.MX7 SoCs" + depends on MACH_IMX imply VIDEO_DAMAGE help Enable framebuffer driver for i.MX28/i.MX6UL/i.MX7 processors diff --git a/drivers/video/bridge/Kconfig b/drivers/video/bridge/Kconfig index a48cec7a138..5322a002928 100644 --- a/drivers/video/bridge/Kconfig +++ b/drivers/video/bridge/Kconfig @@ -53,7 +53,7 @@ config VIDEO_BRIDGE_SOLOMON_SSD2825 config VIDEO_BRIDGE_TOSHIBA_TC358768 bool "Support Toshiba TC358768 MIPI DSI bridge" - depends on VIDEO_BRIDGE && PANEL && DM_GPIO + depends on VIDEO_BRIDGE && PANEL && DM_GPIO && !64BIT select VIDEO_MIPI_DSI select DM_I2C help diff --git a/drivers/video/exynos/Kconfig b/drivers/video/exynos/Kconfig index a2cf752aac0..1fffec5c9c5 100644 --- a/drivers/video/exynos/Kconfig +++ b/drivers/video/exynos/Kconfig @@ -1,7 +1,7 @@ menuconfig VIDEO_EXYNOS bool "Enable Exynos video support" - depends on VIDEO + depends on VIDEO && ARCH_EXYNOS help Enable support for various video output options on Exynos SoCs. diff --git a/drivers/video/imx/Kconfig b/drivers/video/imx/Kconfig index 4a1927c66d7..b35ba965efc 100644 --- a/drivers/video/imx/Kconfig +++ b/drivers/video/imx/Kconfig @@ -23,3 +23,4 @@ config IMX_LDB config IMX_LCDIF bool "i.MX LCDIFv3 LCD controller" + depends on MACH_IMX diff --git a/drivers/video/meson/Kconfig b/drivers/video/meson/Kconfig index fcf486ca0a3..77c3017382e 100644 --- a/drivers/video/meson/Kconfig +++ b/drivers/video/meson/Kconfig @@ -6,7 +6,7 @@ config VIDEO_MESON bool "Enable Amlogic Meson video support" - depends on VIDEO + depends on VIDEO && ARCH_MESON select DISPLAY imply VIDEO_DAMAGE help diff --git a/drivers/video/rockchip/Kconfig b/drivers/video/rockchip/Kconfig index 0f4550a29e3..96af6d28ef0 100644 --- a/drivers/video/rockchip/Kconfig +++ b/drivers/video/rockchip/Kconfig @@ -10,7 +10,7 @@ menuconfig VIDEO_ROCKCHIP bool "Enable Rockchip Video Support" - depends on VIDEO + depends on VIDEO && ARCH_ROCKCHIP imply VIDEO_DAMAGE help Rockchip SoCs provide video output capabilities for High-Definition diff --git a/drivers/video/stm32/Kconfig b/drivers/video/stm32/Kconfig index c354c402c28..ea4ce6799fd 100644 --- a/drivers/video/stm32/Kconfig +++ b/drivers/video/stm32/Kconfig @@ -7,7 +7,6 @@ menuconfig VIDEO_STM32 bool "Enable STM32 video support" - depends on VIDEO imply VIDEO_DAMAGE help STM32 supports many video output options including RGB and diff --git a/drivers/video/ti/Kconfig b/drivers/video/ti/Kconfig index 3081e9e8c09..0483f760ea1 100644 --- a/drivers/video/ti/Kconfig +++ b/drivers/video/ti/Kconfig @@ -4,5 +4,6 @@ # config AM335X_LCD bool "Enable AM335x video support" + depends on ARCH_OMAP2PLUS help Supports video output to an attached LCD panel.