1# SPDX-License-Identifier: GPL-2.0-only
2
3config VIDEO_SAMSUNG_EXYNOS4_IS
4	tristate "Samsung S5P/EXYNOS4 SoC series Camera Subsystem driver"
5	depends on VIDEO_V4L2 && OF && COMMON_CLK
6	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
7	select MEDIA_CONTROLLER
8	select VIDEO_V4L2_SUBDEV_API
9	select V4L2_FWNODE
10	help
11	  Say Y here to enable camera host interface devices for
12	  Samsung S5P and EXYNOS SoC series.
13
14if VIDEO_SAMSUNG_EXYNOS4_IS
15
16config VIDEO_EXYNOS4_IS_COMMON
17	tristate
18
19config VIDEO_S5P_FIMC
20	tristate "S5P/EXYNOS4 FIMC/CAMIF camera interface driver"
21	depends on I2C
22	depends on HAS_DMA
23	select VIDEOBUF2_DMA_CONTIG
24	select V4L2_MEM2MEM_DEV
25	select MFD_SYSCON
26	select VIDEO_EXYNOS4_IS_COMMON
27	help
28	  This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC camera host
29	  interface and video postprocessor (FIMC) devices.
30
31	  To compile this driver as a module, choose M here: the
32	  module will be called s5p-fimc.
33
34config VIDEO_S5P_MIPI_CSIS
35	tristate "S5P/EXYNOS MIPI-CSI2 receiver (MIPI-CSIS) driver"
36	depends on REGULATOR
37	select GENERIC_PHY
38	select V4L2_FWNODE
39	help
40	  This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC MIPI-CSI2
41	  receiver (MIPI-CSIS) devices.
42
43	  To compile this driver as a module, choose M here: the
44	  module will be called s5p-csis.
45
46config VIDEO_EXYNOS_FIMC_LITE
47	tristate "EXYNOS FIMC-LITE camera interface driver"
48	depends on I2C
49	depends on SOC_EXYNOS4412 || SOC_EXYNOS5250 || COMPILE_TEST
50	depends on HAS_DMA
51	select VIDEOBUF2_DMA_CONTIG
52	select VIDEO_EXYNOS4_IS_COMMON
53	help
54	  This is a V4L2 driver for Samsung EXYNOS4/5 SoC FIMC-LITE camera
55	  host interface.
56
57	  To compile this driver as a module, choose M here: the
58	  module will be called exynos-fimc-lite.
59
60config VIDEO_EXYNOS4_FIMC_IS
61	tristate "EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver"
62	depends on I2C
63	depends on HAS_DMA
64	select VIDEOBUF2_DMA_CONTIG
65	depends on OF
66	select FW_LOADER
67	help
68	  This is a V4L2 driver for Samsung EXYNOS4x12 SoC series
69	  FIMC-IS (Imaging Subsystem).
70
71	  To compile this driver as a module, choose M here: the
72	  module will be called exynos4-fimc-is.
73
74config VIDEO_EXYNOS4_ISP_DMA_CAPTURE
75	bool "EXYNOS4x12 FIMC-IS ISP Direct DMA capture support"
76	depends on VIDEO_EXYNOS4_FIMC_IS
77	select VIDEO_EXYNOS4_IS_COMMON
78	default y
79	help
80	  This option enables an additional video device node exposing a V4L2
81	  video capture interface for the FIMC-IS ISP raw (Bayer) capture DMA.
82
83endif # VIDEO_SAMSUNG_EXYNOS4_IS
84