1# SPDX-License-Identifier: GPL-2.0-only
2
3comment "Texas Instruments drivers"
4
5# TI VIDEO PORT Helper Modules
6# These will be selected by VPE and VIP
7config VIDEO_TI_VPDMA
8	tristate
9
10config VIDEO_TI_SC
11	tristate
12
13config VIDEO_TI_CSC
14	tristate
15
16# V4L drivers
17
18config VIDEO_TI_CAL
19	tristate "TI CAL (Camera Adaptation Layer) driver"
20	depends on VIDEO_DEV
21	depends on V4L_PLATFORM_DRIVERS
22	select MEDIA_CONTROLLER
23	select VIDEO_V4L2_SUBDEV_API
24	depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
25	select VIDEOBUF2_DMA_CONTIG
26	select V4L2_FWNODE
27	help
28	  Support for the TI CAL (Camera Adaptation Layer) block
29	  found on DRA72X SoC.
30	  In TI Technical Reference Manual this module is referred as
31	  Camera Interface Subsystem (CAMSS).
32
33config VIDEO_TI_CAL_MC
34	bool "Media Controller centric mode by default"
35	depends on VIDEO_TI_CAL
36	default n
37	help
38	  Enables Media Controller centric mode by default.
39
40	  If set, CAL driver will start in Media Controller mode by
41	  default. Note that this behavior can be overridden via
42	  module parameter 'mc_api'.
43
44# Mem2mem drivers
45
46config VIDEO_TI_VPE
47	tristate "TI VPE (Video Processing Engine) driver"
48	depends on V4L_MEM2MEM_DRIVERS
49	depends on VIDEO_DEV
50	depends on SOC_DRA7XX || COMPILE_TEST
51	select VIDEOBUF2_DMA_CONTIG
52	select V4L2_MEM2MEM_DEV
53	select VIDEO_TI_VPDMA
54	select VIDEO_TI_SC
55	select VIDEO_TI_CSC
56	help
57	  Support for the TI VPE(Video Processing Engine) block
58	  found on DRA7XX SoC.
59
60config VIDEO_TI_VPE_DEBUG
61	bool "VPE debug messages"
62	depends on VIDEO_TI_VPE
63	help
64	  Enable debug messages on VPE driver.
65
66source "drivers/media/platform/ti/am437x/Kconfig"
67source "drivers/media/platform/ti/davinci/Kconfig"
68source "drivers/media/platform/ti/omap/Kconfig"
69source "drivers/media/platform/ti/omap3isp/Kconfig"
70