aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/Kconfig
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2021-07-02 19:21:56 +0200
committerAnatolij Gustschin <agust@denx.de>2021-08-01 21:40:51 +0200
commit21a151a79d51839ab0a08a7e2ca2ee4c9f79ab1c (patch)
tree95d180068281654e1bca9bce1271c402f4873b97 /drivers/video/Kconfig
parent5371593aed56ee11cbb6cc6ac8d058fcd9b8f58c (diff)
downloadu-boot-21a151a79d51839ab0a08a7e2ca2ee4c9f79ab1c.zip
u-boot-21a151a79d51839ab0a08a7e2ca2ee4c9f79ab1c.tar.gz
u-boot-21a151a79d51839ab0a08a7e2ca2ee4c9f79ab1c.tar.bz2
video: Add simple driver for ST-Ericsson MCDE with pre-configured display
The U-Boot port for ST-Ericsson Ux500 is currently only used on the "stemmy" board, where U-Boot runs after firmware that already sets up a boot splash screen. This means that the display is already on and we can just continue using it for U-Boot. Add a simple driver that simplifies this by reading the display configuration (e.g. screen size, bpp) from the hardware registers. It also checks the configured "source synchronization" - for some displays (usually DSI command mode displays) we need to explicitly trigger a software sync. This is done through the video_sync() callback that triggers the sync and wait for completion. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r--drivers/video/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index b69ffca..e614a04 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -854,6 +854,18 @@ config VIDEO_DT_SIMPLEFB
The video output is initialized by U-Boot, and kept by the
kernel.
+config VIDEO_MCDE_SIMPLE
+ bool "Simple driver for ST-Ericsson MCDE with preconfigured display"
+ depends on DM_VIDEO
+ help
+ Enables a simple display driver for ST-Ericsson MCDE
+ (Multichannel Display Engine), which reads the configuration from
+ the MCDE registers.
+
+ This driver assumes that the display hardware has been initialized
+ before u-boot starts, and u-boot will simply render to the pre-
+ allocated frame buffer surface.
+
config OSD
bool "Enable OSD support"
depends on DM