# SPDX-License-Identifier: GPL-2.0-only
config DRM_STM
	tristate "DRM Support for STMicroelectronics SoC Series"
	depends on DRM && (ARCH_STM32 || ARCH_MULTIPLATFORM)
	select DRM_KMS_HELPER
	select DRM_GEM_CMA_HELPER
	select DRM_KMS_CMA_HELPER
	select DRM_PANEL_BRIDGE
	select VIDEOMODE_HELPERS
	select FB_PROVIDE_GET_FB_UNMAPPED_AREA if FB

	help
	  Enable support for the on-chip display controller on
	  STMicroelectronics STM32 MCUs.
	  To compile this driver as a module, choose M here: the module
	  will be called stm-drm.

config DRM_STM_DSI
	tristate "STMicroelectronics specific extensions for Synopsys MIPI DSI"
	depends on DRM_STM
	select DRM_DW_MIPI_DSI
	help
	  Choose this option for MIPI DSI support on STMicroelectronics SoC.
