2019-05-19 15:07:45 +03:00
# SPDX-License-Identifier: GPL-2.0-only
2012-04-27 12:29:05 +04:00
2013-03-24 19:54:25 +04:00
config VIDEO_SAMSUNG_EXYNOS4_IS
2015-12-05 01:20:09 +03:00
tristate "Samsung S5P/EXYNOS4 SoC series Camera Subsystem driver"
media: Kconfig files: use select for V4L2 subdevs and MC
There are lots of drivers that only work when the media controller
and/or the V4L2 subdev APIs are present.
Right now, someone need to first enable those APIs before
using those drivers.
Well, ideally, drivers, should, instead *optionally*
depend on it, in order for PC camera drivers to be able to use
them, but nowadays most drivers are UVC cameras, with don't
require a sensor driver.
So, be it.
Let's instead make them select the MEDIA_CONTROLLER and the
SUBDEV API, in order to make easier for people to be able
of enabling them.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-03-25 17:36:56 +03:00
depends on VIDEO_V4L2 && OF && COMMON_CLK
2014-10-06 20:08:06 +04:00
depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
media: Kconfig files: use select for V4L2 subdevs and MC
There are lots of drivers that only work when the media controller
and/or the V4L2 subdev APIs are present.
Right now, someone need to first enable those APIs before
using those drivers.
Well, ideally, drivers, should, instead *optionally*
depend on it, in order for PC camera drivers to be able to use
them, but nowadays most drivers are UVC cameras, with don't
require a sensor driver.
So, be it.
Let's instead make them select the MEDIA_CONTROLLER and the
SUBDEV API, in order to make easier for people to be able
of enabling them.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-03-25 17:36:56 +03:00
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
2016-08-27 02:17:25 +03:00
select V4L2_FWNODE
2012-04-27 12:29:05 +04:00
help
Say Y here to enable camera host interface devices for
Samsung S5P and EXYNOS SoC series.
2013-03-24 19:54:25 +04:00
if VIDEO_SAMSUNG_EXYNOS4_IS
2012-04-27 12:29:05 +04:00
2013-06-10 15:51:44 +04:00
config VIDEO_EXYNOS4_IS_COMMON
2019-11-21 06:19:37 +03:00
tristate
2013-06-10 15:51:44 +04:00
2012-04-27 12:29:05 +04:00
config VIDEO_S5P_FIMC
tristate "S5P/EXYNOS4 FIMC/CAMIF camera interface driver"
depends on I2C
2014-08-26 23:45:39 +04:00
depends on HAS_DMA
2012-04-27 12:29:05 +04:00
select VIDEOBUF2_DMA_CONTIG
select V4L2_MEM2MEM_DEV
2014-04-15 15:35:25 +04:00
select MFD_SYSCON
2013-06-10 15:51:44 +04:00
select VIDEO_EXYNOS4_IS_COMMON
2012-04-27 12:29:05 +04:00
help
This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC camera host
2013-03-24 19:54:25 +04:00
interface and video postprocessor (FIMC) devices.
2012-04-27 12:29:05 +04:00
To compile this driver as a module, choose M here: the
module will be called s5p-fimc.
config VIDEO_S5P_MIPI_CSIS
tristate "S5P/EXYNOS MIPI-CSI2 receiver (MIPI-CSIS) driver"
depends on REGULATOR
2013-10-16 20:28:11 +04:00
select GENERIC_PHY
2016-08-27 02:17:25 +03:00
select V4L2_FWNODE
2012-04-27 12:29:05 +04:00
help
This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC MIPI-CSI2
receiver (MIPI-CSIS) devices.
To compile this driver as a module, choose M here: the
module will be called s5p-csis.
config VIDEO_EXYNOS_FIMC_LITE
tristate "EXYNOS FIMC-LITE camera interface driver"
depends on I2C
2018-04-05 18:37:19 +03:00
depends on SOC_EXYNOS4412 || SOC_EXYNOS5250 || COMPILE_TEST
2014-08-26 23:45:39 +04:00
depends on HAS_DMA
2012-04-27 12:29:05 +04:00
select VIDEOBUF2_DMA_CONTIG
2013-06-10 15:51:44 +04:00
select VIDEO_EXYNOS4_IS_COMMON
2012-04-27 12:29:05 +04:00
help
This is a V4L2 driver for Samsung EXYNOS4/5 SoC FIMC-LITE camera
host interface.
To compile this driver as a module, choose M here: the
module will be called exynos-fimc-lite.
2013-03-11 22:38:29 +04:00
config VIDEO_EXYNOS4_FIMC_IS
tristate "EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver"
2015-04-10 23:30:14 +03:00
depends on I2C
2014-08-26 23:45:39 +04:00
depends on HAS_DMA
2013-03-11 22:38:29 +04:00
select VIDEOBUF2_DMA_CONTIG
depends on OF
select FW_LOADER
help
This is a V4L2 driver for Samsung EXYNOS4x12 SoC series
FIMC-IS (Imaging Subsystem).
To compile this driver as a module, choose M here: the
module will be called exynos4-fimc-is.
2013-12-21 02:35:06 +04:00
config VIDEO_EXYNOS4_ISP_DMA_CAPTURE
bool "EXYNOS4x12 FIMC-IS ISP Direct DMA capture support"
depends on VIDEO_EXYNOS4_FIMC_IS
select VIDEO_EXYNOS4_IS_COMMON
default y
2017-08-30 11:47:21 +03:00
help
2013-12-21 02:35:06 +04:00
This option enables an additional video device node exposing a V4L2
video capture interface for the FIMC-IS ISP raw (Bayer) capture DMA.
2013-05-13 02:10:10 +04:00
endif # VIDEO_SAMSUNG_EXYNOS4_IS