mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 05:54:23 +08:00
32a363d0b0
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>
26 lines
763 B
Plaintext
26 lines
763 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config VIDEO_COBALT
|
|
tristate "Cisco Cobalt support"
|
|
depends on VIDEO_V4L2 && I2C
|
|
depends on PCI_MSI && MTD_COMPLEX_MAPPINGS
|
|
depends on (GPIOLIB && DRM_I2C_ADV7511=n) || COMPILE_TEST
|
|
depends on SND
|
|
depends on MTD
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select I2C_ALGOBIT
|
|
select SND_PCM
|
|
select VIDEO_ADV7604
|
|
select VIDEO_ADV7511
|
|
select VIDEO_ADV7842
|
|
select VIDEOBUF2_DMA_SG
|
|
help
|
|
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.
|