blob: 78b1facad4b23049bc401dfd2d774d4698b970cb [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Philippe CORNU72719d22017-08-03 12:36:08 +02002#
3# Copyright (C) STMicroelectronics SA 2017
4#
5# Authors: Philippe Cornu <philippe.cornu@st.com>
6# Yannick Fertre <yannick.fertre@st.com>
Philippe CORNU72719d22017-08-03 12:36:08 +02007
8menuconfig VIDEO_STM32
9 bool "Enable STM32 video support"
10 depends on DM_VIDEO
11 help
12 STM32 supports many video output options including RGB and
13 DSI. This option enables these supports which can be used on
14 devices which have RGB TFT or DSI display connected.
15
16config VIDEO_STM32_MAX_XRES
17 int "Maximum horizontal resolution (for memory allocation purposes)"
18 depends on VIDEO_STM32
19 default 640
20 help
21 The maximum horizontal resolution to support for the framebuffer.
22 This configuration is used for reserving/allocating memory for the
23 framebuffer during device-model binding/probing.
24
25config VIDEO_STM32_MAX_YRES
26 int "Maximum vertical resolution (for memory allocation purposes)"
27 depends on VIDEO_STM32
28 default 480
29 help
30 The maximum vertical resolution to support for the framebuffer.
31 This configuration is used for reserving/allocating memory for the
32 framebuffer during device-model binding/probing.
33
34config VIDEO_STM32_MAX_BPP
35 int "Maximum bits per pixel (for memory allocation purposes)"
36 depends on VIDEO_STM32
37 default 16
38 help
39 The maximum bits per pixel to support for the framebuffer.
40 This configuration is used for reserving/allocating memory for the
41 framebuffer during device-model binding/probing.
42