# SPDX-License-Identifier: GPL-2.0
config DRM_RZG2L_DU
	tristate "DRM Support for RZ/G2L Display Unit"
	depends on ARCH_RZG2L || COMPILE_TEST
	depends on DRM && OF
	depends on VIDEO_RENESAS_VSP1
	select DRM_GEM_DMA_HELPER
	select DRM_KMS_HELPER
	select DRM_DISPLAY_HELPER
	select DRM_BRIDGE_CONNECTOR
	select VIDEOMODE_HELPERS
	help
	  Choose this option if you have an RZ/G2L alike chipset.
	  If M is selected the module will be called rzg2l-du-drm.

config DRM_RZG2L_USE_MIPI_DSI
	bool "RZ/G2L MIPI DSI Encoder Support"
	depends on DRM_BRIDGE && OF
	depends on DRM_RZG2L_DU || COMPILE_TEST
	default DRM_RZG2L_DU
	help
	  Enable support for the RZ/G2L Display Unit embedded MIPI DSI encoders.

config DRM_RZG2L_MIPI_DSI
	def_tristate DRM_RZG2L_DU
	depends on DRM_RZG2L_USE_MIPI_DSI
	select DRM_MIPI_DSI
