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