xref: /openbmc/linux/drivers/media/platform/samsung/exynos4-is/Kconfig (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1238c84f7SMauro Carvalho Chehab# SPDX-License-Identifier: GPL-2.0-only
2238c84f7SMauro Carvalho Chehab
3238c84f7SMauro Carvalho Chehabconfig VIDEO_SAMSUNG_EXYNOS4_IS
4238c84f7SMauro Carvalho Chehab	tristate "Samsung S5P/EXYNOS4 SoC series Camera Subsystem driver"
5238c84f7SMauro Carvalho Chehab	depends on V4L_PLATFORM_DRIVERS
69958d30fSMauro Carvalho Chehab	depends on VIDEO_DEV && OF && COMMON_CLK
7238c84f7SMauro Carvalho Chehab	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
8238c84f7SMauro Carvalho Chehab	select MEDIA_CONTROLLER
9238c84f7SMauro Carvalho Chehab	select VIDEO_V4L2_SUBDEV_API
10238c84f7SMauro Carvalho Chehab	select V4L2_FWNODE
11238c84f7SMauro Carvalho Chehab	help
12238c84f7SMauro Carvalho Chehab	  Say Y here to enable camera host interface devices for
13238c84f7SMauro Carvalho Chehab	  Samsung S5P and EXYNOS SoC series.
14238c84f7SMauro Carvalho Chehab
15238c84f7SMauro Carvalho Chehabif VIDEO_SAMSUNG_EXYNOS4_IS
16238c84f7SMauro Carvalho Chehab
17238c84f7SMauro Carvalho Chehabconfig VIDEO_EXYNOS4_IS_COMMON
18238c84f7SMauro Carvalho Chehab	tristate
19238c84f7SMauro Carvalho Chehab
20238c84f7SMauro Carvalho Chehabconfig VIDEO_S5P_FIMC
21238c84f7SMauro Carvalho Chehab	tristate "S5P/EXYNOS4 FIMC/CAMIF camera interface driver"
22238c84f7SMauro Carvalho Chehab	depends on I2C
23238c84f7SMauro Carvalho Chehab	depends on HAS_DMA
24238c84f7SMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
25238c84f7SMauro Carvalho Chehab	select V4L2_MEM2MEM_DEV
26238c84f7SMauro Carvalho Chehab	select MFD_SYSCON
27238c84f7SMauro Carvalho Chehab	select VIDEO_EXYNOS4_IS_COMMON
28238c84f7SMauro Carvalho Chehab	help
29238c84f7SMauro Carvalho Chehab	  This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC camera host
30238c84f7SMauro Carvalho Chehab	  interface and video postprocessor (FIMC) devices.
31238c84f7SMauro Carvalho Chehab
32238c84f7SMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the
33238c84f7SMauro Carvalho Chehab	  module will be called s5p-fimc.
34238c84f7SMauro Carvalho Chehab
35238c84f7SMauro Carvalho Chehabconfig VIDEO_S5P_MIPI_CSIS
36238c84f7SMauro Carvalho Chehab	tristate "S5P/EXYNOS MIPI-CSI2 receiver (MIPI-CSIS) driver"
37238c84f7SMauro Carvalho Chehab	depends on REGULATOR
38238c84f7SMauro Carvalho Chehab	select GENERIC_PHY
39238c84f7SMauro Carvalho Chehab	select V4L2_FWNODE
40238c84f7SMauro Carvalho Chehab	help
41238c84f7SMauro Carvalho Chehab	  This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC MIPI-CSI2
42238c84f7SMauro Carvalho Chehab	  receiver (MIPI-CSIS) devices.
43238c84f7SMauro Carvalho Chehab
44238c84f7SMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the
45238c84f7SMauro Carvalho Chehab	  module will be called s5p-csis.
46238c84f7SMauro Carvalho Chehab
47238c84f7SMauro Carvalho Chehabconfig VIDEO_EXYNOS_FIMC_LITE
48238c84f7SMauro Carvalho Chehab	tristate "EXYNOS FIMC-LITE camera interface driver"
49238c84f7SMauro Carvalho Chehab	depends on I2C
50*bd947783SArtur Weber	depends on SOC_EXYNOS4212 || SOC_EXYNOS4412 || SOC_EXYNOS5250 || COMPILE_TEST
51238c84f7SMauro Carvalho Chehab	depends on HAS_DMA
52238c84f7SMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
53238c84f7SMauro Carvalho Chehab	select VIDEO_EXYNOS4_IS_COMMON
54238c84f7SMauro Carvalho Chehab	help
55238c84f7SMauro Carvalho Chehab	  This is a V4L2 driver for Samsung EXYNOS4/5 SoC FIMC-LITE camera
56238c84f7SMauro Carvalho Chehab	  host interface.
57238c84f7SMauro Carvalho Chehab
58238c84f7SMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the
59238c84f7SMauro Carvalho Chehab	  module will be called exynos-fimc-lite.
60238c84f7SMauro Carvalho Chehab
61238c84f7SMauro Carvalho Chehabconfig VIDEO_EXYNOS4_FIMC_IS
62238c84f7SMauro Carvalho Chehab	tristate "EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver"
63238c84f7SMauro Carvalho Chehab	depends on I2C
64238c84f7SMauro Carvalho Chehab	depends on HAS_DMA
65238c84f7SMauro Carvalho Chehab	select VIDEOBUF2_DMA_CONTIG
66238c84f7SMauro Carvalho Chehab	depends on OF
67238c84f7SMauro Carvalho Chehab	select FW_LOADER
68238c84f7SMauro Carvalho Chehab	help
69238c84f7SMauro Carvalho Chehab	  This is a V4L2 driver for Samsung EXYNOS4x12 SoC series
70238c84f7SMauro Carvalho Chehab	  FIMC-IS (Imaging Subsystem).
71238c84f7SMauro Carvalho Chehab
72238c84f7SMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the
73238c84f7SMauro Carvalho Chehab	  module will be called exynos4-fimc-is.
74238c84f7SMauro Carvalho Chehab
75238c84f7SMauro Carvalho Chehabconfig VIDEO_EXYNOS4_ISP_DMA_CAPTURE
76238c84f7SMauro Carvalho Chehab	bool "EXYNOS4x12 FIMC-IS ISP Direct DMA capture support"
77238c84f7SMauro Carvalho Chehab	depends on VIDEO_EXYNOS4_FIMC_IS
78238c84f7SMauro Carvalho Chehab	select VIDEO_EXYNOS4_IS_COMMON
79238c84f7SMauro Carvalho Chehab	default y
80238c84f7SMauro Carvalho Chehab	help
81238c84f7SMauro Carvalho Chehab	  This option enables an additional video device node exposing a V4L2
82238c84f7SMauro Carvalho Chehab	  video capture interface for the FIMC-IS ISP raw (Bayer) capture DMA.
83238c84f7SMauro Carvalho Chehab
84238c84f7SMauro Carvalho Chehabendif # VIDEO_SAMSUNG_EXYNOS4_IS
85