2018-07-26 02:35:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2018-05-15 00:56:35 +00:00
|
|
|
config VIDEO_RCAR_CSI2
|
|
|
|
tristate "R-Car MIPI CSI-2 Receiver"
|
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 14:36:56 +00:00
|
|
|
depends on VIDEO_V4L2 && OF
|
2018-05-15 00:56:35 +00:00
|
|
|
depends on ARCH_RENESAS || 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 14:36:56 +00:00
|
|
|
select MEDIA_CONTROLLER
|
|
|
|
select VIDEO_V4L2_SUBDEV_API
|
2019-03-12 23:49:30 +00:00
|
|
|
select RESET_CONTROLLER
|
2018-05-15 00:56:35 +00:00
|
|
|
select V4L2_FWNODE
|
|
|
|
help
|
|
|
|
Support for Renesas R-Car MIPI CSI-2 receiver.
|
2020-09-15 18:20:26 +00:00
|
|
|
Supports R-Car Gen3 and RZ/G2 SoCs.
|
2018-05-15 00:56:35 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called rcar-csi2.
|
|
|
|
|
2016-04-26 13:22:19 +00:00
|
|
|
config VIDEO_RCAR_VIN
|
|
|
|
tristate "R-Car Video Input (VIN) 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 14:36:56 +00:00
|
|
|
depends on VIDEO_V4L2 && OF
|
2016-04-26 13:22:19 +00:00
|
|
|
depends on ARCH_RENESAS || 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 14:36:56 +00:00
|
|
|
select MEDIA_CONTROLLER
|
|
|
|
select VIDEO_V4L2_SUBDEV_API
|
2016-04-26 13:22:19 +00:00
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
2016-08-26 23:17:25 +00:00
|
|
|
select V4L2_FWNODE
|
2019-03-20 10:39:44 +00:00
|
|
|
help
|
2016-04-26 13:22:19 +00:00
|
|
|
Support for Renesas R-Car Video Input (VIN) driver.
|
2020-09-15 18:20:27 +00:00
|
|
|
Supports R-Car Gen{2,3} and RZ/G{1,2} SoCs.
|
2016-04-26 13:22:19 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called rcar-vin.
|