2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2016-09-15 15:29:51 +00:00
|
|
|
if VIDEO_V4L2
|
|
|
|
|
2020-04-15 13:39:38 +00:00
|
|
|
comment "SPI I2C drivers auto-selected by 'Autoselect ancillary drivers'"
|
|
|
|
depends on MEDIA_HIDE_ANCILLARY_SUBDRV && SPI
|
2019-07-27 13:31:29 +00:00
|
|
|
|
2016-09-15 15:18:14 +00:00
|
|
|
menu "SPI helper chips"
|
2019-07-27 13:31:29 +00:00
|
|
|
visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
|
2016-09-15 15:18:14 +00:00
|
|
|
|
2016-09-15 15:29:51 +00:00
|
|
|
config VIDEO_GS1662
|
|
|
|
tristate "Gennum Serializers video"
|
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 SPI && VIDEO_V4L2
|
|
|
|
select MEDIA_CONTROLLER
|
|
|
|
select VIDEO_V4L2_SUBDEV_API
|
2019-03-20 10:39:44 +00:00
|
|
|
help
|
2016-09-15 15:29:51 +00:00
|
|
|
Enable the GS1662 driver which serializes video streams.
|
|
|
|
|
2016-09-15 15:18:14 +00:00
|
|
|
endmenu
|
|
|
|
|
2016-09-15 15:29:51 +00:00
|
|
|
endif
|
2018-01-18 08:59:42 +00:00
|
|
|
|
|
|
|
if SPI
|
|
|
|
menu "Media SPI Adapters"
|
|
|
|
|
|
|
|
config CXD2880_SPI_DRV
|
|
|
|
tristate "Sony CXD2880 SPI support"
|
|
|
|
depends on DVB_CORE && SPI
|
|
|
|
default m if !MEDIA_SUBDRV_AUTOSELECT
|
|
|
|
help
|
|
|
|
Choose if you would like to have SPI interface support for Sony CXD2880.
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endif
|