162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciconfig VIDEO_SAMSUNG_EXYNOS4_IS
462306a36Sopenharmony_ci	tristate "Samsung S5P/EXYNOS4 SoC series Camera Subsystem driver"
562306a36Sopenharmony_ci	depends on V4L_PLATFORM_DRIVERS
662306a36Sopenharmony_ci	depends on VIDEO_DEV && OF && COMMON_CLK
762306a36Sopenharmony_ci	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
862306a36Sopenharmony_ci	select MEDIA_CONTROLLER
962306a36Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
1062306a36Sopenharmony_ci	select V4L2_FWNODE
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  Say Y here to enable camera host interface devices for
1362306a36Sopenharmony_ci	  Samsung S5P and EXYNOS SoC series.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciif VIDEO_SAMSUNG_EXYNOS4_IS
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciconfig VIDEO_EXYNOS4_IS_COMMON
1862306a36Sopenharmony_ci	tristate
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig VIDEO_S5P_FIMC
2162306a36Sopenharmony_ci	tristate "S5P/EXYNOS4 FIMC/CAMIF camera interface driver"
2262306a36Sopenharmony_ci	depends on I2C
2362306a36Sopenharmony_ci	depends on HAS_DMA
2462306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
2562306a36Sopenharmony_ci	select V4L2_MEM2MEM_DEV
2662306a36Sopenharmony_ci	select MFD_SYSCON
2762306a36Sopenharmony_ci	select VIDEO_EXYNOS4_IS_COMMON
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC camera host
3062306a36Sopenharmony_ci	  interface and video postprocessor (FIMC) devices.
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
3362306a36Sopenharmony_ci	  module will be called s5p-fimc.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciconfig VIDEO_S5P_MIPI_CSIS
3662306a36Sopenharmony_ci	tristate "S5P/EXYNOS MIPI-CSI2 receiver (MIPI-CSIS) driver"
3762306a36Sopenharmony_ci	depends on REGULATOR
3862306a36Sopenharmony_ci	select GENERIC_PHY
3962306a36Sopenharmony_ci	select V4L2_FWNODE
4062306a36Sopenharmony_ci	help
4162306a36Sopenharmony_ci	  This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC MIPI-CSI2
4262306a36Sopenharmony_ci	  receiver (MIPI-CSIS) devices.
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
4562306a36Sopenharmony_ci	  module will be called s5p-csis.
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ciconfig VIDEO_EXYNOS_FIMC_LITE
4862306a36Sopenharmony_ci	tristate "EXYNOS FIMC-LITE camera interface driver"
4962306a36Sopenharmony_ci	depends on I2C
5062306a36Sopenharmony_ci	depends on SOC_EXYNOS4212 || SOC_EXYNOS4412 || SOC_EXYNOS5250 || COMPILE_TEST
5162306a36Sopenharmony_ci	depends on HAS_DMA
5262306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
5362306a36Sopenharmony_ci	select VIDEO_EXYNOS4_IS_COMMON
5462306a36Sopenharmony_ci	help
5562306a36Sopenharmony_ci	  This is a V4L2 driver for Samsung EXYNOS4/5 SoC FIMC-LITE camera
5662306a36Sopenharmony_ci	  host interface.
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
5962306a36Sopenharmony_ci	  module will be called exynos-fimc-lite.
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ciconfig VIDEO_EXYNOS4_FIMC_IS
6262306a36Sopenharmony_ci	tristate "EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver"
6362306a36Sopenharmony_ci	depends on I2C
6462306a36Sopenharmony_ci	depends on HAS_DMA
6562306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
6662306a36Sopenharmony_ci	depends on OF
6762306a36Sopenharmony_ci	select FW_LOADER
6862306a36Sopenharmony_ci	help
6962306a36Sopenharmony_ci	  This is a V4L2 driver for Samsung EXYNOS4x12 SoC series
7062306a36Sopenharmony_ci	  FIMC-IS (Imaging Subsystem).
7162306a36Sopenharmony_ci
7262306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
7362306a36Sopenharmony_ci	  module will be called exynos4-fimc-is.
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ciconfig VIDEO_EXYNOS4_ISP_DMA_CAPTURE
7662306a36Sopenharmony_ci	bool "EXYNOS4x12 FIMC-IS ISP Direct DMA capture support"
7762306a36Sopenharmony_ci	depends on VIDEO_EXYNOS4_FIMC_IS
7862306a36Sopenharmony_ci	select VIDEO_EXYNOS4_IS_COMMON
7962306a36Sopenharmony_ci	default y
8062306a36Sopenharmony_ci	help
8162306a36Sopenharmony_ci	  This option enables an additional video device node exposing a V4L2
8262306a36Sopenharmony_ci	  video capture interface for the FIMC-IS ISP raw (Bayer) capture DMA.
8362306a36Sopenharmony_ci
8462306a36Sopenharmony_ciendif # VIDEO_SAMSUNG_EXYNOS4_IS
85