1*83d290c5STom Rini# SPDX-License-Identifier: GPL-2.0+ 272719d2fSPhilippe CORNU# 372719d2fSPhilippe CORNU# Copyright (C) STMicroelectronics SA 2017 472719d2fSPhilippe CORNU# 572719d2fSPhilippe CORNU# Authors: Philippe Cornu <philippe.cornu@st.com> 672719d2fSPhilippe CORNU# Yannick Fertre <yannick.fertre@st.com> 772719d2fSPhilippe CORNU 872719d2fSPhilippe CORNUmenuconfig VIDEO_STM32 972719d2fSPhilippe CORNU bool "Enable STM32 video support" 1072719d2fSPhilippe CORNU depends on DM_VIDEO 1172719d2fSPhilippe CORNU help 1272719d2fSPhilippe CORNU STM32 supports many video output options including RGB and 1372719d2fSPhilippe CORNU DSI. This option enables these supports which can be used on 1472719d2fSPhilippe CORNU devices which have RGB TFT or DSI display connected. 1572719d2fSPhilippe CORNU 1672719d2fSPhilippe CORNUconfig VIDEO_STM32_MAX_XRES 1772719d2fSPhilippe CORNU int "Maximum horizontal resolution (for memory allocation purposes)" 1872719d2fSPhilippe CORNU depends on VIDEO_STM32 1972719d2fSPhilippe CORNU default 640 2072719d2fSPhilippe CORNU help 2172719d2fSPhilippe CORNU The maximum horizontal resolution to support for the framebuffer. 2272719d2fSPhilippe CORNU This configuration is used for reserving/allocating memory for the 2372719d2fSPhilippe CORNU framebuffer during device-model binding/probing. 2472719d2fSPhilippe CORNU 2572719d2fSPhilippe CORNUconfig VIDEO_STM32_MAX_YRES 2672719d2fSPhilippe CORNU int "Maximum vertical resolution (for memory allocation purposes)" 2772719d2fSPhilippe CORNU depends on VIDEO_STM32 2872719d2fSPhilippe CORNU default 480 2972719d2fSPhilippe CORNU help 3072719d2fSPhilippe CORNU The maximum vertical resolution to support for the framebuffer. 3172719d2fSPhilippe CORNU This configuration is used for reserving/allocating memory for the 3272719d2fSPhilippe CORNU framebuffer during device-model binding/probing. 3372719d2fSPhilippe CORNU 3472719d2fSPhilippe CORNUconfig VIDEO_STM32_MAX_BPP 3572719d2fSPhilippe CORNU int "Maximum bits per pixel (for memory allocation purposes)" 3672719d2fSPhilippe CORNU depends on VIDEO_STM32 3772719d2fSPhilippe CORNU default 16 3872719d2fSPhilippe CORNU help 3972719d2fSPhilippe CORNU The maximum bits per pixel to support for the framebuffer. 4072719d2fSPhilippe CORNU This configuration is used for reserving/allocating memory for the 4172719d2fSPhilippe CORNU framebuffer during device-model binding/probing. 4272719d2fSPhilippe CORNU 43