# SPDX-License-Identifier: GPL-2.0-only

config DRM_HOBOT
	tristate "DRM Support for Journey SoC"
	depends on DRM
	select DRM_GEM_CMA_HELPER
	select DRM_PANEL
	select VIDEOMODE_HELPERS
	select DRM_DW_MIPI_DSI if HOBOT_DW_MIPI_DSI
	help
	  Choose this option if you have a Journey soc chipset.
	  This driver provides kernel mode setting and buffer
	  management to userspace. This driver does not provide
	  2D or 3D acceleration; acceleration is performed by other
	  IP found on the SoC.

config HOBOT_CHIP_J6X
	tristate "Hobot Journey6x chipset"
	default y

config HOBOT_CHIP_J5
	tristate "Hobot Journey5 chipset"
	default n

config HOBOT_DRM_IDU
	tristate "Hobot IDU Driver"
	default n

config HOBOT_DRM_MIPI_DSI
	tristate "Hobot specific extensions for Synopsys DW MIPI DSI"
	select DRM_MIPI_DSI

config HOBOT_DRM_MIPI_CSI_TX
	tristate "Hobot specific extensions for Synopsys DW MIPI CSI-TX"
	select DRM_MIPI_DSI
	select HOBOT_DRM_MIPI_DPHY

config HOBOT_DRM_MIPI_DPHY
	tristate "Hobot specific extensions for Synopsys DW MIPI CSI-TX"
	depends on HOBOT_DRM_MIPI_CSI_TX


config HOBOT_MMU
	tristate "Hobot MMU"
	depends on HOBOT_DRM_IDU

config HOBOT_DISPLAY_WRITEBACK
	tristate "Hobot IDU Writeback"
	depends on HOBOT_CHIP_J6X
	default n

config DISP_SPARKLER_DEBUG
	tristate "Sparkler environment"
	default n

config HOBOT_IDE_WRAPPER
	tristate "IDE wrapper driver"
	depends on HOBOT_CHIP_J6X
	default n

config HOBOT_IDE_STL
	tristate "Hobot IDE STL Driver"
	depends on HOBOT_STL
	default y

config HOBOT_MIPI_CSI_TX_STL
	tristate "Hobot MIPI CSI TX STL Driver"
	depends on HOBOT_STL
	select HOBOT_IDE_STL
	default m

config HOBOT_IDU_STL
	tristate "Hobot IDU STL Driver"
	depends on HOBOT_STL
	select HOBOT_IDE_STL
	default m

config HOBOT_MIPI_DSI_STL
	tristate "Hobot MIPI DSI STL Driver"
	depends on HOBOT_STL
	select HOBOT_IDE_STL
	default m

source "../hobot-drivers/ide/hobot-panel/Kconfig"
