mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 12:52:56 +07: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>
38 lines
1010 B
Plaintext
38 lines
1010 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config VIDEO_CADENCE
|
|
bool "Cadence Video Devices"
|
|
help
|
|
If you have a media device designed by Cadence, say Y.
|
|
|
|
Note that this option doesn't include new drivers in the kernel:
|
|
saying N will just cause Kconfig to skip all the questions about
|
|
Cadence media devices.
|
|
|
|
if VIDEO_CADENCE
|
|
|
|
config VIDEO_CADENCE_CSI2RX
|
|
tristate "Cadence MIPI-CSI2 RX Controller"
|
|
depends on VIDEO_V4L2
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select V4L2_FWNODE
|
|
help
|
|
Support for the Cadence MIPI CSI2 Receiver controller.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called cdns-csi2rx.
|
|
|
|
config VIDEO_CADENCE_CSI2TX
|
|
tristate "Cadence MIPI-CSI2 TX Controller"
|
|
depends on VIDEO_V4L2
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select V4L2_FWNODE
|
|
help
|
|
Support for the Cadence MIPI CSI2 Transceiver controller.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called cdns-csi2tx.
|
|
|
|
endif
|