xref: /linux/drivers/media/platform/ti/Kconfig (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
168f8ef61SMauro Carvalho Chehab# SPDX-License-Identifier: GPL-2.0-only
268f8ef61SMauro Carvalho Chehab
368f8ef61SMauro Carvalho Chehabcomment "Texas Instruments drivers"
468f8ef61SMauro Carvalho Chehab
568f8ef61SMauro Carvalho Chehab# TI VIDEO PORT Helper Modules
668f8ef61SMauro Carvalho Chehab# These will be selected by VPE and VIP
768f8ef61SMauro Carvalho Chehabconfig VIDEO_TI_VPDMA
868f8ef61SMauro Carvalho Chehab	tristate
968f8ef61SMauro Carvalho Chehab
1068f8ef61SMauro Carvalho Chehabconfig VIDEO_TI_SC
1168f8ef61SMauro Carvalho Chehab	tristate
1268f8ef61SMauro Carvalho Chehab
1368f8ef61SMauro Carvalho Chehabconfig VIDEO_TI_CSC
1468f8ef61SMauro Carvalho Chehab	tristate
1568f8ef61SMauro Carvalho Chehab
1668f8ef61SMauro Carvalho Chehab# V4L drivers
1768f8ef61SMauro Carvalho Chehab
1868f8ef61SMauro Carvalho Chehabconfig VIDEO_TI_CAL
1968f8ef61SMauro Carvalho Chehab	tristate "TI CAL (Camera Adaptation Layer) driver"
2068f8ef61SMauro Carvalho Chehab	depends on VIDEO_DEV
2168f8ef61SMauro Carvalho Chehab	depends on V4L_PLATFORM_DRIVERS
2268f8ef61SMauro Carvalho Chehab	select MEDIA_CONTROLLER
2368f8ef61SMauro Carvalho Chehab	select VIDEO_V4L2_SUBDEV_API
2468f8ef61SMauro Carvalho Chehab	depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
2568f8ef61SMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
2668f8ef61SMauro Carvalho Chehab	select V4L2_FWNODE
2768f8ef61SMauro Carvalho Chehab	help
2868f8ef61SMauro Carvalho Chehab	  Support for the TI CAL (Camera Adaptation Layer) block
2968f8ef61SMauro Carvalho Chehab	  found on DRA72X SoC.
3068f8ef61SMauro Carvalho Chehab	  In TI Technical Reference Manual this module is referred as
3168f8ef61SMauro Carvalho Chehab	  Camera Interface Subsystem (CAMSS).
3268f8ef61SMauro Carvalho Chehab
3368f8ef61SMauro Carvalho Chehabconfig VIDEO_TI_CAL_MC
3468f8ef61SMauro Carvalho Chehab	bool "Media Controller centric mode by default"
3568f8ef61SMauro Carvalho Chehab	depends on VIDEO_TI_CAL
3668f8ef61SMauro Carvalho Chehab	default n
3768f8ef61SMauro Carvalho Chehab	help
3868f8ef61SMauro Carvalho Chehab	  Enables Media Controller centric mode by default.
3968f8ef61SMauro Carvalho Chehab
4068f8ef61SMauro Carvalho Chehab	  If set, CAL driver will start in Media Controller mode by
4168f8ef61SMauro Carvalho Chehab	  default. Note that this behavior can be overridden via
4268f8ef61SMauro Carvalho Chehab	  module parameter 'mc_api'.
4368f8ef61SMauro Carvalho Chehab
4468f8ef61SMauro Carvalho Chehab# Mem2mem drivers
4568f8ef61SMauro Carvalho Chehab
4668f8ef61SMauro Carvalho Chehabconfig VIDEO_TI_VPE
4768f8ef61SMauro Carvalho Chehab	tristate "TI VPE (Video Processing Engine) driver"
4868f8ef61SMauro Carvalho Chehab	depends on V4L_MEM2MEM_DRIVERS
4968f8ef61SMauro Carvalho Chehab	depends on VIDEO_DEV
5068f8ef61SMauro Carvalho Chehab	depends on SOC_DRA7XX || COMPILE_TEST
5168f8ef61SMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
5268f8ef61SMauro Carvalho Chehab	select V4L2_MEM2MEM_DEV
5368f8ef61SMauro Carvalho Chehab	select VIDEO_TI_VPDMA
5468f8ef61SMauro Carvalho Chehab	select VIDEO_TI_SC
5568f8ef61SMauro Carvalho Chehab	select VIDEO_TI_CSC
5668f8ef61SMauro Carvalho Chehab	help
5768f8ef61SMauro Carvalho Chehab	  Support for the TI VPE(Video Processing Engine) block
5868f8ef61SMauro Carvalho Chehab	  found on DRA7XX SoC.
5968f8ef61SMauro Carvalho Chehab
6068f8ef61SMauro Carvalho Chehabconfig VIDEO_TI_VPE_DEBUG
6168f8ef61SMauro Carvalho Chehab	bool "VPE debug messages"
6268f8ef61SMauro Carvalho Chehab	depends on VIDEO_TI_VPE
6368f8ef61SMauro Carvalho Chehab	help
6468f8ef61SMauro Carvalho Chehab	  Enable debug messages on VPE driver.
65f2ab6d3eSMauro Carvalho Chehab
66*b4a3d877SJai Luthraconfig VIDEO_TI_J721E_CSI2RX
67*b4a3d877SJai Luthra	tristate "TI J721E CSI2RX wrapper layer driver"
68*b4a3d877SJai Luthra	depends on VIDEO_DEV && VIDEO_V4L2_SUBDEV_API
69*b4a3d877SJai Luthra	depends on MEDIA_SUPPORT && MEDIA_CONTROLLER
70*b4a3d877SJai Luthra	depends on (PHY_CADENCE_DPHY_RX && VIDEO_CADENCE_CSI2RX) || COMPILE_TEST
71*b4a3d877SJai Luthra	depends on ARCH_K3 || COMPILE_TEST
72*b4a3d877SJai Luthra	select VIDEOBUF2_DMA_CONTIG
73*b4a3d877SJai Luthra	select V4L2_FWNODE
74*b4a3d877SJai Luthra	help
75*b4a3d877SJai Luthra	  Support for TI CSI2RX wrapper layer. This just enables the wrapper driver.
76*b4a3d877SJai Luthra	  The Cadence CSI2RX bridge driver needs to be enabled separately.
77*b4a3d877SJai Luthra
78f2ab6d3eSMauro Carvalho Chehabsource "drivers/media/platform/ti/am437x/Kconfig"
79f2ab6d3eSMauro Carvalho Chehabsource "drivers/media/platform/ti/davinci/Kconfig"
80f2ab6d3eSMauro Carvalho Chehabsource "drivers/media/platform/ti/omap/Kconfig"
81f2ab6d3eSMauro Carvalho Chehabsource "drivers/media/platform/ti/omap3isp/Kconfig"
82