Philippe CORNU | dcbad9a | 2017-08-03 12:36:08 +0200 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) STMicroelectronics SA 2017 |
| 3 | # |
| 4 | # Authors: Philippe Cornu <philippe.cornu@st.com> |
| 5 | # Yannick Fertre <yannick.fertre@st.com> |
| 6 | # |
| 7 | # SPDX-License-Identifier: GPL-2.0+ |
| 8 | # |
| 9 | |
| 10 | menuconfig VIDEO_STM32 |
| 11 | bool "Enable STM32 video support" |
| 12 | depends on DM_VIDEO |
| 13 | help |
| 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. |
| 17 | |
| 18 | config VIDEO_STM32_MAX_XRES |
| 19 | int "Maximum horizontal resolution (for memory allocation purposes)" |
| 20 | depends on VIDEO_STM32 |
| 21 | default 640 |
| 22 | help |
| 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. |
| 26 | |
| 27 | config VIDEO_STM32_MAX_YRES |
| 28 | int "Maximum vertical resolution (for memory allocation purposes)" |
| 29 | depends on VIDEO_STM32 |
| 30 | default 480 |
| 31 | help |
| 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. |
| 35 | |
| 36 | config VIDEO_STM32_MAX_BPP |
| 37 | int "Maximum bits per pixel (for memory allocation purposes)" |
| 38 | depends on VIDEO_STM32 |
| 39 | default 16 |
| 40 | help |
| 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. |
| 44 | |