2 # Copyright (C) STMicroelectronics SA 2017
4 # Authors: Philippe Cornu <philippe.cornu@st.com>
5 # Yannick Fertre <yannick.fertre@st.com>
7 # SPDX-License-Identifier: GPL-2.0+
10 menuconfig VIDEO_STM32
11 bool "Enable STM32 video support"
14 STM32 supports many video output options including RGB and
15 DSI. This option enables these supports which can be used on
16 devices which have RGB TFT or DSI display connected.
18 config VIDEO_STM32_MAX_XRES
19 int "Maximum horizontal resolution (for memory allocation purposes)"
20 depends on VIDEO_STM32
23 The maximum horizontal resolution to support for the framebuffer.
24 This configuration is used for reserving/allocating memory for the
25 framebuffer during device-model binding/probing.
27 config VIDEO_STM32_MAX_YRES
28 int "Maximum vertical resolution (for memory allocation purposes)"
29 depends on VIDEO_STM32
32 The maximum vertical resolution to support for the framebuffer.
33 This configuration is used for reserving/allocating memory for the
34 framebuffer during device-model binding/probing.
36 config VIDEO_STM32_MAX_BPP
37 int "Maximum bits per pixel (for memory allocation purposes)"
38 depends on VIDEO_STM32
41 The maximum bits per pixel to support for the framebuffer.
42 This configuration is used for reserving/allocating memory for the
43 framebuffer during device-model binding/probing.