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