2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2012-04-27 16:29:05 +08:00
|
|
|
|
2013-03-24 23:54:25 +08:00
|
|
|
config VIDEO_SAMSUNG_EXYNOS4_IS
|
2015-12-05 06:20:09 +08: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 22:36:56 +08:00
|
|
|
depends on VIDEO_V4L2 && OF && COMMON_CLK
|
2014-10-07 00:08:06 +08: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 22:36:56 +08:00
|
|
|
select MEDIA_CONTROLLER
|
|
|
|
select VIDEO_V4L2_SUBDEV_API
|
2016-08-27 07:17:25 +08:00
|
|
|
select V4L2_FWNODE
|
2012-04-27 16:29:05 +08:00
|
|
|
help
|
|
|
|
Say Y here to enable camera host interface devices for
|
|
|
|
Samsung S5P and EXYNOS SoC series.
|
|
|
|
|
2013-03-24 23:54:25 +08:00
|
|
|
if VIDEO_SAMSUNG_EXYNOS4_IS
|
2012-04-27 16:29:05 +08:00
|
|
|
|
2013-06-10 19:51:44 +08:00
|
|
|
config VIDEO_EXYNOS4_IS_COMMON
|
2019-11-21 11:19:37 +08:00
|
|
|
tristate
|
2013-06-10 19:51:44 +08:00
|
|
|
|
2012-04-27 16:29:05 +08:00
|
|
|
config VIDEO_S5P_FIMC
|
|
|
|
tristate "S5P/EXYNOS4 FIMC/CAMIF camera interface driver"
|
|
|
|
depends on I2C
|
2014-08-27 03:45:39 +08:00
|
|
|
depends on HAS_DMA
|
2012-04-27 16:29:05 +08:00
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
|
|
select V4L2_MEM2MEM_DEV
|
2014-04-15 19:35:25 +08:00
|
|
|
select MFD_SYSCON
|
2013-06-10 19:51:44 +08:00
|
|
|
select VIDEO_EXYNOS4_IS_COMMON
|
2012-04-27 16:29:05 +08:00
|
|
|
help
|
|
|
|
This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC camera host
|
2013-03-24 23:54:25 +08:00
|
|
|
interface and video postprocessor (FIMC) devices.
|
2012-04-27 16:29:05 +08: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-17 00:28:11 +08:00
|
|
|
select GENERIC_PHY
|
2016-08-27 07:17:25 +08:00
|
|
|
select V4L2_FWNODE
|
2012-04-27 16:29:05 +08: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 23:37:19 +08:00
|
|
|
depends on SOC_EXYNOS4412 || SOC_EXYNOS5250 || COMPILE_TEST
|
2014-08-27 03:45:39 +08:00
|
|
|
depends on HAS_DMA
|
2012-04-27 16:29:05 +08:00
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
2013-06-10 19:51:44 +08:00
|
|
|
select VIDEO_EXYNOS4_IS_COMMON
|
2012-04-27 16:29:05 +08: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-12 02:38:29 +08:00
|
|
|
config VIDEO_EXYNOS4_FIMC_IS
|
|
|
|
tristate "EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver"
|
2015-04-11 04:30:14 +08:00
|
|
|
depends on I2C
|
2014-08-27 03:45:39 +08:00
|
|
|
depends on HAS_DMA
|
2013-03-12 02:38:29 +08: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 06:35:06 +08: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 16:47:21 +08:00
|
|
|
help
|
2013-12-21 06:35:06 +08: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 06:10:10 +08:00
|
|
|
endif # VIDEO_SAMSUNG_EXYNOS4_IS
|