summaryrefslogtreecommitdiff
path: root/drivers/video/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-18 19:52:19 -0700
committerSimon Glass <sjg@chromium.org>2016-01-20 19:10:15 -0700
commitb5146b2811b69775c88a51bc1275377369d6d3b3 (patch)
tree001bd32c47cd01cb981c96cba09da240349a2c24 /drivers/video/Kconfig
parent72cded9ec0dd8e36e17372687b0284044ac079a6 (diff)
downloadu-boot-imx-b5146b2811b69775c88a51bc1275377369d6d3b3.zip
u-boot-imx-b5146b2811b69775c88a51bc1275377369d6d3b3.tar.gz
u-boot-imx-b5146b2811b69775c88a51bc1275377369d6d3b3.tar.bz2
dm: video: Add a driver for a rotated text console
Sometimes the console must be rotated. Add a driver which supports rotating the text clockwise to 90, 180 and 270 degrees. This can support devices where the display is rotated for mechanical reasons. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r--drivers/video/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 946d958..499d00d 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -44,6 +44,19 @@ config VIDEO_BPP32
this option, such displays will not be supported and console output
will be empty.
+config VIDEO_ROTATION
+ bool "Support rotated displays"
+ depends on DM_VIDEO
+ help
+ Sometimes, for example if the display is mounted in portrait
+ mode or even if it's mounted landscape but rotated by 180degree,
+ we need to rotate our content of the display relative to the
+ framebuffer, so that user can read the messages which are
+ printed out. Enable this option to include a text driver which can
+ support this. The rotation is set by the 'rot' parameter in
+ struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
+ degrees, 3=270 degrees.
+
config VIDEO_VESA
bool "Enable VESA video driver support"
default n