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 <trini@konsulko.com>
This commit is contained in:
Tom Rini
2025-11-12 14:00:04 -06:00
parent 68735fd334
commit 96d1e8b29b
8 changed files with 10 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -23,3 +23,4 @@ config IMX_LDB
config IMX_LCDIF
bool "i.MX LCDIFv3 LCD controller"
depends on MACH_IMX

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.