From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Cc: Anatolij Gustschin <ag.dev.uboot@gmail.com>
Subject: [PATCHv2 3/7] video: Tighten some video driver dependencies
Date: Wed, 12 Nov 2025 14:00:04 -0600 [thread overview]
Message-ID: <20251112200315.1111980-4-trini@konsulko.com> (raw)
In-Reply-To: <20251112200315.1111980-1-trini@konsulko.com>
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 <trini@konsulko.com>
---
drivers/video/Kconfig | 4 ++++
drivers/video/bridge/Kconfig | 2 +-
drivers/video/exynos/Kconfig | 2 +-
drivers/video/imx/Kconfig | 1 +
drivers/video/meson/Kconfig | 2 +-
drivers/video/rockchip/Kconfig | 2 +-
drivers/video/stm32/Kconfig | 1 -
drivers/video/ti/Kconfig | 1 +
8 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index a12df55f84ff..0fc1c161541e 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 a48cec7a1384..5322a0029285 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 a2cf752aac03..1fffec5c9c5e 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 4a1927c66d7d..b35ba965efc3 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 fcf486ca0a3a..77c3017382eb 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 0f4550a29e38..96af6d28ef0b 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 c354c402c288..ea4ce6799fda 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 3081e9e8c09b..0483f760ea19 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.
--
2.43.0
next prev parent reply other threads:[~2025-11-12 20:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-12 20:00 [PATCHv2 0/7] video: Remove unused drivers, clean up dependencies Tom Rini
2025-11-12 20:00 ` [PATCHv2 1/7] video: mali_dp: Remove unused driver Tom Rini
2025-11-12 20:00 ` [PATCHv2 2/7] video: tegra: Rework some of the driver dependencies Tom Rini
2025-11-12 20:00 ` Tom Rini [this message]
2025-11-12 20:00 ` [PATCHv2 4/7] video: anx9804: Only build when needed Tom Rini
2025-11-12 20:00 ` [PATCHv2 5/7] video: ihs_video_out: Add missing <asm/io.h> to ihs_video_out.c Tom Rini
2025-11-12 20:00 ` [PATCHv2 6/7] video: sharp-lq101r1sx01: Do not make use of 'z' for printing non-size_t Tom Rini
2025-11-12 20:00 ` [PATCHv2 7/7] video: stm32: stm32_ltdc: Add missing <linux/sizes.h> to stm32_ltdc.c Tom Rini
2025-12-30 23:19 ` [PATCHv2 0/7] video: Remove unused drivers, clean up dependencies Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251112200315.1111980-4-trini@konsulko.com \
--to=trini@konsulko.com \
--cc=ag.dev.uboot@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox