2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-05-12 11:52:21 +00:00
|
|
|
config VIDEO_COBALT
|
|
|
|
tristate "Cisco Cobalt support"
|
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 && I2C
|
2015-06-29 13:45:56 +00:00
|
|
|
depends on PCI_MSI && MTD_COMPLEX_MAPPINGS
|
2019-06-12 08:15:43 +00:00
|
|
|
depends on (GPIOLIB && DRM_I2C_ADV7511=n) || COMPILE_TEST
|
2015-06-26 20:43:24 +00:00
|
|
|
depends on SND
|
2016-03-14 22:40:07 +00:00
|
|
|
depends on MTD
|
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
|
2015-05-12 11:52:21 +00:00
|
|
|
select I2C_ALGOBIT
|
2018-01-05 09:44:04 +00:00
|
|
|
select SND_PCM
|
2015-05-12 11:52:21 +00:00
|
|
|
select VIDEO_ADV7604
|
|
|
|
select VIDEO_ADV7511
|
|
|
|
select VIDEO_ADV7842
|
|
|
|
select VIDEOBUF2_DMA_SG
|
2019-03-20 10:39:44 +00:00
|
|
|
help
|
2015-05-12 11:52:21 +00:00
|
|
|
This is a video4linux driver for the Cisco PCIe Cobalt card.
|
|
|
|
|
|
|
|
This board is sadly not available outside of Cisco, but it is
|
|
|
|
very useful as an example of a real driver that uses all the
|
|
|
|
latest frameworks and APIs.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called cobalt.
|