2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2012-03-04 04:19:52 +08:00
|
|
|
config VIDEO_SMIAPP
|
|
|
|
tristate "SMIA++/SMIA sensor 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 22:36:56 +08:00
|
|
|
depends on I2C && VIDEO_V4L2 && HAVE_CLK
|
|
|
|
select MEDIA_CONTROLLER
|
|
|
|
select VIDEO_V4L2_SUBDEV_API
|
2012-03-04 04:19:52 +08:00
|
|
|
select VIDEO_SMIAPP_PLL
|
2016-08-27 07:17:25 +08:00
|
|
|
select V4L2_FWNODE
|
2019-03-20 18:39:44 +08:00
|
|
|
help
|
2012-03-04 04:19:52 +08:00
|
|
|
This is a generic driver for SMIA++/SMIA camera modules.
|