162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_cicomment "Texas Instruments drivers"
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci# TI VIDEO PORT Helper Modules
662306a36Sopenharmony_ci# These will be selected by VPE and VIP
762306a36Sopenharmony_ciconfig VIDEO_TI_VPDMA
862306a36Sopenharmony_ci	tristate
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciconfig VIDEO_TI_SC
1162306a36Sopenharmony_ci	tristate
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciconfig VIDEO_TI_CSC
1462306a36Sopenharmony_ci	tristate
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci# V4L drivers
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciconfig VIDEO_TI_CAL
1962306a36Sopenharmony_ci	tristate "TI CAL (Camera Adaptation Layer) driver"
2062306a36Sopenharmony_ci	depends on VIDEO_DEV
2162306a36Sopenharmony_ci	depends on V4L_PLATFORM_DRIVERS
2262306a36Sopenharmony_ci	select MEDIA_CONTROLLER
2362306a36Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
2462306a36Sopenharmony_ci	depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
2562306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
2662306a36Sopenharmony_ci	select V4L2_FWNODE
2762306a36Sopenharmony_ci	help
2862306a36Sopenharmony_ci	  Support for the TI CAL (Camera Adaptation Layer) block
2962306a36Sopenharmony_ci	  found on DRA72X SoC.
3062306a36Sopenharmony_ci	  In TI Technical Reference Manual this module is referred as
3162306a36Sopenharmony_ci	  Camera Interface Subsystem (CAMSS).
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ciconfig VIDEO_TI_CAL_MC
3462306a36Sopenharmony_ci	bool "Media Controller centric mode by default"
3562306a36Sopenharmony_ci	depends on VIDEO_TI_CAL
3662306a36Sopenharmony_ci	default n
3762306a36Sopenharmony_ci	help
3862306a36Sopenharmony_ci	  Enables Media Controller centric mode by default.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ci	  If set, CAL driver will start in Media Controller mode by
4162306a36Sopenharmony_ci	  default. Note that this behavior can be overridden via
4262306a36Sopenharmony_ci	  module parameter 'mc_api'.
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci# Mem2mem drivers
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciconfig VIDEO_TI_VPE
4762306a36Sopenharmony_ci	tristate "TI VPE (Video Processing Engine) driver"
4862306a36Sopenharmony_ci	depends on V4L_MEM2MEM_DRIVERS
4962306a36Sopenharmony_ci	depends on VIDEO_DEV
5062306a36Sopenharmony_ci	depends on SOC_DRA7XX || COMPILE_TEST
5162306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
5262306a36Sopenharmony_ci	select V4L2_MEM2MEM_DEV
5362306a36Sopenharmony_ci	select VIDEO_TI_VPDMA
5462306a36Sopenharmony_ci	select VIDEO_TI_SC
5562306a36Sopenharmony_ci	select VIDEO_TI_CSC
5662306a36Sopenharmony_ci	help
5762306a36Sopenharmony_ci	  Support for the TI VPE(Video Processing Engine) block
5862306a36Sopenharmony_ci	  found on DRA7XX SoC.
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ciconfig VIDEO_TI_VPE_DEBUG
6162306a36Sopenharmony_ci	bool "VPE debug messages"
6262306a36Sopenharmony_ci	depends on VIDEO_TI_VPE
6362306a36Sopenharmony_ci	help
6462306a36Sopenharmony_ci	  Enable debug messages on VPE driver.
6562306a36Sopenharmony_ci
6662306a36Sopenharmony_cisource "drivers/media/platform/ti/am437x/Kconfig"
6762306a36Sopenharmony_cisource "drivers/media/platform/ti/davinci/Kconfig"
6862306a36Sopenharmony_cisource "drivers/media/platform/ti/omap/Kconfig"
6962306a36Sopenharmony_cisource "drivers/media/platform/ti/omap3isp/Kconfig"
70