Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Philippe CORNU | 72719d2 | 2017-08-03 12:36:08 +0200 | [diff] [blame] | 2 | # |
| 3 | # Copyright (C) STMicroelectronics SA 2017 |
| 4 | # |
| 5 | # Authors: Philippe Cornu <philippe.cornu@st.com> |
| 6 | # Yannick Fertre <yannick.fertre@st.com> |
Philippe CORNU | 72719d2 | 2017-08-03 12:36:08 +0200 | [diff] [blame] | 7 | |
| 8 | menuconfig VIDEO_STM32 |
| 9 | bool "Enable STM32 video support" |
Simon Glass | b86986c | 2022-10-18 07:46:31 -0600 | [diff] [blame] | 10 | depends on VIDEO |
Philippe CORNU | 72719d2 | 2017-08-03 12:36:08 +0200 | [diff] [blame] | 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 | |
Yannick Fertré | 18b6ca5 | 2019-10-07 15:29:07 +0200 | [diff] [blame] | 16 | config VIDEO_STM32_DSI |
| 17 | bool "Enable STM32 DSI video support" |
| 18 | depends on VIDEO_STM32 |
| 19 | select VIDEO_BRIDGE |
| 20 | select VIDEO_DW_MIPI_DSI |
| 21 | help |
| 22 | This option enables support DSI internal bridge which can be used on |
| 23 | devices which have DSI devices connected. |
| 24 | |
Philippe CORNU | 72719d2 | 2017-08-03 12:36:08 +0200 | [diff] [blame] | 25 | config VIDEO_STM32_MAX_XRES |
| 26 | int "Maximum horizontal resolution (for memory allocation purposes)" |
| 27 | depends on VIDEO_STM32 |
| 28 | default 640 |
| 29 | help |
| 30 | The maximum horizontal 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 | |
| 34 | config VIDEO_STM32_MAX_YRES |
| 35 | int "Maximum vertical resolution (for memory allocation purposes)" |
| 36 | depends on VIDEO_STM32 |
| 37 | default 480 |
| 38 | help |
| 39 | The maximum vertical resolution to support for the framebuffer. |
| 40 | This configuration is used for reserving/allocating memory for the |
| 41 | framebuffer during device-model binding/probing. |
| 42 | |
| 43 | config VIDEO_STM32_MAX_BPP |
| 44 | int "Maximum bits per pixel (for memory allocation purposes)" |
| 45 | depends on VIDEO_STM32 |
| 46 | default 16 |
| 47 | help |
| 48 | The maximum bits per pixel to support for the framebuffer. |
| 49 | This configuration is used for reserving/allocating memory for the |
| 50 | framebuffer during device-model binding/probing. |
| 51 | |