Commit 32a363d0 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent e58be016
...@@ -19,7 +19,7 @@ config VIDEO_IR_I2C ...@@ -19,7 +19,7 @@ config VIDEO_IR_I2C
In doubt, say Y. In doubt, say Y.
# #
# Encoder / Decoder module configuration # V4L2 I2C drivers that aren't related with Camera support
# #
comment "I2C drivers hidden by 'Autoselect ancillary drivers'" comment "I2C drivers hidden by 'Autoselect ancillary drivers'"
...@@ -28,6 +28,10 @@ comment "I2C drivers hidden by 'Autoselect ancillary drivers'" ...@@ -28,6 +28,10 @@ comment "I2C drivers hidden by 'Autoselect ancillary drivers'"
menu "I2C Encoders, decoders, sensors and other helper chips" menu "I2C Encoders, decoders, sensors and other helper chips"
visible if !MEDIA_HIDE_ANCILLARY_SUBDRV visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
#
# Encoder / Decoder module configuration
#
comment "Audio decoders, processors and mixers" comment "Audio decoders, processors and mixers"
config VIDEO_TVAUDIO config VIDEO_TVAUDIO
...@@ -62,11 +66,13 @@ config VIDEO_TDA9840 ...@@ -62,11 +66,13 @@ config VIDEO_TDA9840
config VIDEO_TDA1997X config VIDEO_TDA1997X
tristate "NXP TDA1997x HDMI receiver" tristate "NXP TDA1997x HDMI receiver"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && I2C
depends on SND_SOC depends on SND_SOC
select HDMI select HDMI
select SND_PCM select SND_PCM
select V4L2_FWNODE select V4L2_FWNODE
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
V4L2 subdevice driver for the NXP TDA1997x HDMI receivers. V4L2 subdevice driver for the NXP TDA1997x HDMI receivers.
...@@ -204,7 +210,9 @@ comment "Video decoders" ...@@ -204,7 +210,9 @@ comment "Video decoders"
config VIDEO_ADV7180 config VIDEO_ADV7180
tristate "Analog Devices ADV7180 decoder" tristate "Analog Devices ADV7180 decoder"
depends on GPIOLIB && VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on GPIOLIB && VIDEO_V4L2 && I2C
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
Support for the Analog Devices ADV7180 video decoder. Support for the Analog Devices ADV7180 video decoder.
...@@ -223,8 +231,10 @@ config VIDEO_ADV7183 ...@@ -223,8 +231,10 @@ config VIDEO_ADV7183
config VIDEO_ADV748X config VIDEO_ADV748X
tristate "Analog Devices ADV748x decoder" tristate "Analog Devices ADV748x decoder"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && I2C
depends on OF depends on OF
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select REGMAP_I2C select REGMAP_I2C
select V4L2_FWNODE select V4L2_FWNODE
help help
...@@ -236,8 +246,10 @@ config VIDEO_ADV748X ...@@ -236,8 +246,10 @@ config VIDEO_ADV748X
config VIDEO_ADV7604 config VIDEO_ADV7604
tristate "Analog Devices ADV7604 decoder" tristate "Analog Devices ADV7604 decoder"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && I2C
depends on GPIOLIB || COMPILE_TEST depends on GPIOLIB || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select REGMAP_I2C select REGMAP_I2C
select HDMI select HDMI
select V4L2_FWNODE select V4L2_FWNODE
...@@ -260,7 +272,9 @@ config VIDEO_ADV7604_CEC ...@@ -260,7 +272,9 @@ config VIDEO_ADV7604_CEC
config VIDEO_ADV7842 config VIDEO_ADV7842
tristate "Analog Devices ADV7842 decoder" tristate "Analog Devices ADV7842 decoder"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && I2C
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select HDMI select HDMI
help help
Support for the Analog Devices ADV7842 video decoder. Support for the Analog Devices ADV7842 video decoder.
...@@ -347,7 +361,9 @@ config VIDEO_SAA711X ...@@ -347,7 +361,9 @@ config VIDEO_SAA711X
config VIDEO_TC358743 config VIDEO_TC358743
tristate "Toshiba TC358743 decoder" tristate "Toshiba TC358743 decoder"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && I2C
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select HDMI select HDMI
select V4L2_FWNODE select V4L2_FWNODE
help help
...@@ -515,8 +531,10 @@ config VIDEO_ADV7393 ...@@ -515,8 +531,10 @@ config VIDEO_ADV7393
config VIDEO_ADV7511 config VIDEO_ADV7511
tristate "Analog Devices ADV7511 encoder" tristate "Analog Devices ADV7511 encoder"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && I2C
depends on DRM_I2C_ADV7511=n || COMPILE_TEST depends on DRM_I2C_ADV7511=n || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select HDMI select HDMI
help help
Support for the Analog Devices ADV7511 video encoder. Support for the Analog Devices ADV7511 video encoder.
...@@ -536,7 +554,10 @@ config VIDEO_ADV7511_CEC ...@@ -536,7 +554,10 @@ config VIDEO_ADV7511_CEC
config VIDEO_AD9389B config VIDEO_AD9389B
tristate "Analog Devices AD9389B encoder" tristate "Analog Devices AD9389B encoder"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && I2C
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
Support for the Analog Devices AD9389B video encoder. Support for the Analog Devices AD9389B video encoder.
...@@ -568,12 +589,17 @@ config VIDEO_APTINA_PLL ...@@ -568,12 +589,17 @@ config VIDEO_APTINA_PLL
config VIDEO_SMIAPP_PLL config VIDEO_SMIAPP_PLL
tristate tristate
#
# All drivers that are related to Media Camera Support should be here
#
if MEDIA_CAMERA_SUPPORT if MEDIA_CAMERA_SUPPORT
config VIDEO_HI556 config VIDEO_HI556
tristate "Hynix Hi-556 sensor support" tristate "Hynix Hi-556 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
depends on MEDIA_CONTROLLER select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the Hynix This is a Video4Linux2 sensor driver for the Hynix
...@@ -584,8 +610,10 @@ config VIDEO_HI556 ...@@ -584,8 +610,10 @@ config VIDEO_HI556
config VIDEO_IMX214 config VIDEO_IMX214
tristate "Sony IMX214 sensor support" tristate "Sony IMX214 sensor support"
depends on GPIOLIB && I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on GPIOLIB && I2C && VIDEO_V4L2
depends on V4L2_FWNODE depends on V4L2_FWNODE
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select REGMAP_I2C select REGMAP_I2C
help help
This is a Video4Linux2 sensor driver for the Sony This is a Video4Linux2 sensor driver for the Sony
...@@ -596,7 +624,9 @@ config VIDEO_IMX214 ...@@ -596,7 +624,9 @@ config VIDEO_IMX214
config VIDEO_IMX219 config VIDEO_IMX219
tristate "Sony IMX219 sensor support" tristate "Sony IMX219 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the Sony This is a Video4Linux2 sensor driver for the Sony
...@@ -607,7 +637,9 @@ config VIDEO_IMX219 ...@@ -607,7 +637,9 @@ config VIDEO_IMX219
config VIDEO_IMX258 config VIDEO_IMX258
tristate "Sony IMX258 sensor support" tristate "Sony IMX258 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This is a Video4Linux2 sensor driver for the Sony This is a Video4Linux2 sensor driver for the Sony
IMX258 camera. IMX258 camera.
...@@ -617,7 +649,9 @@ config VIDEO_IMX258 ...@@ -617,7 +649,9 @@ config VIDEO_IMX258
config VIDEO_IMX274 config VIDEO_IMX274
tristate "Sony IMX274 sensor support" tristate "Sony IMX274 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select REGMAP_I2C select REGMAP_I2C
help help
This is a V4L2 sensor driver for the Sony IMX274 This is a V4L2 sensor driver for the Sony IMX274
...@@ -625,7 +659,9 @@ config VIDEO_IMX274 ...@@ -625,7 +659,9 @@ config VIDEO_IMX274
config VIDEO_IMX290 config VIDEO_IMX290
tristate "Sony IMX290 sensor support" tristate "Sony IMX290 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select REGMAP_I2C select REGMAP_I2C
select V4L2_FWNODE select V4L2_FWNODE
help help
...@@ -637,7 +673,9 @@ config VIDEO_IMX290 ...@@ -637,7 +673,9 @@ config VIDEO_IMX290
config VIDEO_IMX319 config VIDEO_IMX319
tristate "Sony IMX319 sensor support" tristate "Sony IMX319 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This is a Video4Linux2 sensor driver for the Sony This is a Video4Linux2 sensor driver for the Sony
IMX319 camera. IMX319 camera.
...@@ -647,7 +685,9 @@ config VIDEO_IMX319 ...@@ -647,7 +685,9 @@ config VIDEO_IMX319
config VIDEO_IMX355 config VIDEO_IMX355
tristate "Sony IMX355 sensor support" tristate "Sony IMX355 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This is a Video4Linux2 sensor driver for the Sony This is a Video4Linux2 sensor driver for the Sony
IMX355 camera. IMX355 camera.
...@@ -678,7 +718,8 @@ config VIDEO_OV2659 ...@@ -678,7 +718,8 @@ config VIDEO_OV2659
config VIDEO_OV2680 config VIDEO_OV2680
tristate "OmniVision OV2680 sensor support" tristate "OmniVision OV2680 sensor support"
depends on VIDEO_V4L2 && I2C && MEDIA_CONTROLLER depends on VIDEO_V4L2 && I2C
select MEDIA_CONTROLLER
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the OmniVision This is a Video4Linux2 sensor driver for the OmniVision
...@@ -689,7 +730,8 @@ config VIDEO_OV2680 ...@@ -689,7 +730,8 @@ config VIDEO_OV2680
config VIDEO_OV2685 config VIDEO_OV2685
tristate "OmniVision OV2685 sensor support" tristate "OmniVision OV2685 sensor support"
depends on VIDEO_V4L2 && I2C && MEDIA_CONTROLLER depends on VIDEO_V4L2 && I2C
select MEDIA_CONTROLLER
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the OmniVision This is a Video4Linux2 sensor driver for the OmniVision
...@@ -701,7 +743,9 @@ config VIDEO_OV2685 ...@@ -701,7 +743,9 @@ config VIDEO_OV2685
config VIDEO_OV5640 config VIDEO_OV5640
tristate "OmniVision OV5640 sensor support" tristate "OmniVision OV5640 sensor support"
depends on OF depends on OF
depends on GPIOLIB && VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on GPIOLIB && VIDEO_V4L2 && I2C
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the Omnivision This is a Video4Linux2 sensor driver for the Omnivision
...@@ -710,7 +754,9 @@ config VIDEO_OV5640 ...@@ -710,7 +754,9 @@ config VIDEO_OV5640
config VIDEO_OV5645 config VIDEO_OV5645
tristate "OmniVision OV5645 sensor support" tristate "OmniVision OV5645 sensor support"
depends on OF depends on OF
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the OmniVision This is a Video4Linux2 sensor driver for the OmniVision
...@@ -721,7 +767,9 @@ config VIDEO_OV5645 ...@@ -721,7 +767,9 @@ config VIDEO_OV5645
config VIDEO_OV5647 config VIDEO_OV5647
tristate "OmniVision OV5647 sensor support" tristate "OmniVision OV5647 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the OmniVision This is a Video4Linux2 sensor driver for the OmniVision
...@@ -742,8 +790,9 @@ config VIDEO_OV6650 ...@@ -742,8 +790,9 @@ config VIDEO_OV6650
config VIDEO_OV5670 config VIDEO_OV5670
tristate "OmniVision OV5670 sensor support" tristate "OmniVision OV5670 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
depends on MEDIA_CONTROLLER select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the OmniVision This is a Video4Linux2 sensor driver for the OmniVision
...@@ -754,8 +803,9 @@ config VIDEO_OV5670 ...@@ -754,8 +803,9 @@ config VIDEO_OV5670
config VIDEO_OV5675 config VIDEO_OV5675
tristate "OmniVision OV5675 sensor support" tristate "OmniVision OV5675 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
depends on MEDIA_CONTROLLER select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the OmniVision This is a Video4Linux2 sensor driver for the OmniVision
...@@ -777,7 +827,9 @@ config VIDEO_OV5695 ...@@ -777,7 +827,9 @@ config VIDEO_OV5695
config VIDEO_OV7251 config VIDEO_OV7251
tristate "OmniVision OV7251 sensor support" tristate "OmniVision OV7251 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the OmniVision This is a Video4Linux2 sensor driver for the OmniVision
...@@ -826,7 +878,9 @@ config VIDEO_OV7740 ...@@ -826,7 +878,9 @@ config VIDEO_OV7740
config VIDEO_OV8856 config VIDEO_OV8856
tristate "OmniVision OV8856 sensor support" tristate "OmniVision OV8856 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the OmniVision This is a Video4Linux2 sensor driver for the OmniVision
...@@ -844,7 +898,9 @@ config VIDEO_OV9640 ...@@ -844,7 +898,9 @@ config VIDEO_OV9640
config VIDEO_OV9650 config VIDEO_OV9650
tristate "OmniVision OV9650/OV9652 sensor support" tristate "OmniVision OV9650/OV9652 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select REGMAP_SCCB select REGMAP_SCCB
help help
This is a V4L2 sensor driver for the Omnivision This is a V4L2 sensor driver for the Omnivision
...@@ -852,7 +908,9 @@ config VIDEO_OV9650 ...@@ -852,7 +908,9 @@ config VIDEO_OV9650
config VIDEO_OV13858 config VIDEO_OV13858
tristate "OmniVision OV13858 sensor support" tristate "OmniVision OV13858 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the OmniVision This is a Video4Linux2 sensor driver for the OmniVision
...@@ -870,14 +928,18 @@ config VIDEO_VS6624 ...@@ -870,14 +928,18 @@ config VIDEO_VS6624
config VIDEO_MT9M001 config VIDEO_MT9M001
tristate "mt9m001 support" tristate "mt9m001 support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This driver supports MT9M001 cameras from Micron, monochrome This driver supports MT9M001 cameras from Micron, monochrome
and colour models. and colour models.
config VIDEO_MT9M032 config VIDEO_MT9M032
tristate "MT9M032 camera sensor support" tristate "MT9M032 camera sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEO_APTINA_PLL select VIDEO_APTINA_PLL
help help
This driver supports MT9M032 camera sensors from Aptina, monochrome This driver supports MT9M032 camera sensors from Aptina, monochrome
...@@ -893,7 +955,9 @@ config VIDEO_MT9M111 ...@@ -893,7 +955,9 @@ config VIDEO_MT9M111
config VIDEO_MT9P031 config VIDEO_MT9P031
tristate "Aptina MT9P031 support" tristate "Aptina MT9P031 support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEO_APTINA_PLL select VIDEO_APTINA_PLL
help help
This is a Video4Linux2 sensor driver for the Aptina This is a Video4Linux2 sensor driver for the Aptina
...@@ -901,7 +965,9 @@ config VIDEO_MT9P031 ...@@ -901,7 +965,9 @@ config VIDEO_MT9P031
config VIDEO_MT9T001 config VIDEO_MT9T001
tristate "Aptina MT9T001 support" tristate "Aptina MT9T001 support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This is a Video4Linux2 sensor driver for the Aptina This is a Video4Linux2 sensor driver for the Aptina
(Micron) mt0t001 3 Mpixel camera. (Micron) mt0t001 3 Mpixel camera.
...@@ -926,7 +992,9 @@ config VIDEO_MT9V011 ...@@ -926,7 +992,9 @@ config VIDEO_MT9V011
config VIDEO_MT9V032 config VIDEO_MT9V032
tristate "Micron MT9V032 sensor support" tristate "Micron MT9V032 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select REGMAP_I2C select REGMAP_I2C
select V4L2_FWNODE select V4L2_FWNODE
help help
...@@ -951,7 +1019,9 @@ config VIDEO_SR030PC30 ...@@ -951,7 +1019,9 @@ config VIDEO_SR030PC30
config VIDEO_NOON010PC30 config VIDEO_NOON010PC30
tristate "Siliconfile NOON010PC30 sensor support" tristate "Siliconfile NOON010PC30 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This driver supports NOON010PC30 CIF camera from Siliconfile This driver supports NOON010PC30 CIF camera from Siliconfile
...@@ -969,21 +1039,27 @@ config VIDEO_RJ54N1 ...@@ -969,21 +1039,27 @@ config VIDEO_RJ54N1
config VIDEO_S5K6AA config VIDEO_S5K6AA
tristate "Samsung S5K6AAFX sensor support" tristate "Samsung S5K6AAFX sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This is a V4L2 sensor driver for Samsung S5K6AA(FX) 1.3M This is a V4L2 sensor driver for Samsung S5K6AA(FX) 1.3M
camera sensor with an embedded SoC image signal processor. camera sensor with an embedded SoC image signal processor.
config VIDEO_S5K6A3 config VIDEO_S5K6A3
tristate "Samsung S5K6A3 sensor support" tristate "Samsung S5K6A3 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This is a V4L2 sensor driver for Samsung S5K6A3 raw This is a V4L2 sensor driver for Samsung S5K6A3 raw
camera sensor. camera sensor.
config VIDEO_S5K4ECGX config VIDEO_S5K4ECGX
tristate "Samsung S5K4ECGX sensor support" tristate "Samsung S5K4ECGX sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select CRC32 select CRC32
help help
This is a V4L2 sensor driver for Samsung S5K4ECGX 5M This is a V4L2 sensor driver for Samsung S5K4ECGX 5M
...@@ -991,7 +1067,9 @@ config VIDEO_S5K4ECGX ...@@ -991,7 +1067,9 @@ config VIDEO_S5K4ECGX
config VIDEO_S5K5BAF config VIDEO_S5K5BAF
tristate "Samsung S5K5BAF sensor support" tristate "Samsung S5K5BAF sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a V4L2 sensor driver for Samsung S5K5BAF 2M This is a V4L2 sensor driver for Samsung S5K5BAF 2M
...@@ -1002,28 +1080,29 @@ source "drivers/media/i2c/et8ek8/Kconfig" ...@@ -1002,28 +1080,29 @@ source "drivers/media/i2c/et8ek8/Kconfig"
config VIDEO_S5C73M3 config VIDEO_S5C73M3
tristate "Samsung S5C73M3 sensor support" tristate "Samsung S5C73M3 sensor support"
depends on I2C && SPI && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && SPI && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a V4L2 sensor driver for Samsung S5C73M3 This is a V4L2 sensor driver for Samsung S5C73M3
8 Mpixel camera. 8 Mpixel camera.
endif
comment "Lens drivers" comment "Lens drivers"
if MEDIA_CAMERA_SUPPORT
config VIDEO_AD5820 config VIDEO_AD5820
tristate "AD5820 lens voice coil support" tristate "AD5820 lens voice coil support"
depends on GPIOLIB && I2C && VIDEO_V4L2 && MEDIA_CONTROLLER depends on GPIOLIB && I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
help help
This is a driver for the AD5820 camera lens voice coil. This is a driver for the AD5820 camera lens voice coil.
It is used for example in Nokia N900 (RX-51). It is used for example in Nokia N900 (RX-51).
config VIDEO_AK7375 config VIDEO_AK7375
tristate "AK7375 lens voice coil support" tristate "AK7375 lens voice coil support"
depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER depends on I2C && VIDEO_V4L2
depends on VIDEO_V4L2_SUBDEV_API select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This is a driver for the AK7375 camera lens voice coil. This is a driver for the AK7375 camera lens voice coil.
AK7375 is a 12 bit DAC with 120mA output current sink AK7375 is a 12 bit DAC with 120mA output current sink
...@@ -1032,8 +1111,9 @@ config VIDEO_AK7375 ...@@ -1032,8 +1111,9 @@ config VIDEO_AK7375
config VIDEO_DW9714 config VIDEO_DW9714
tristate "DW9714 lens voice coil support" tristate "DW9714 lens voice coil support"
depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER depends on I2C && VIDEO_V4L2
depends on VIDEO_V4L2_SUBDEV_API select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This is a driver for the DW9714 camera lens voice coil. This is a driver for the DW9714 camera lens voice coil.
DW9714 is a 10 bit DAC with 120mA output current sink DW9714 is a 10 bit DAC with 120mA output current sink
...@@ -1042,30 +1122,30 @@ config VIDEO_DW9714 ...@@ -1042,30 +1122,30 @@ config VIDEO_DW9714
config VIDEO_DW9807_VCM config VIDEO_DW9807_VCM
tristate "DW9807 lens voice coil support" tristate "DW9807 lens voice coil support"
depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER depends on I2C && VIDEO_V4L2
depends on VIDEO_V4L2_SUBDEV_API select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This is a driver for the DW9807 camera lens voice coil. This is a driver for the DW9807 camera lens voice coil.
DW9807 is a 10 bit DAC with 100mA output current sink DW9807 is a 10 bit DAC with 100mA output current sink
capability. This is designed for linear control of capability. This is designed for linear control of
voice coil motors, controlled via I2C serial interface. voice coil motors, controlled via I2C serial interface.
endif
comment "Flash devices" comment "Flash devices"
if MEDIA_CAMERA_SUPPORT
config VIDEO_ADP1653 config VIDEO_ADP1653
tristate "ADP1653 flash support" tristate "ADP1653 flash support"
depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
help help
This is a driver for the ADP1653 flash controller. It is used for This is a driver for the ADP1653 flash controller. It is used for
example in Nokia N900. example in Nokia N900.
config VIDEO_LM3560 config VIDEO_LM3560
tristate "LM3560 dual flash driver support" tristate "LM3560 dual flash driver support"
depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select REGMAP_I2C select REGMAP_I2C
help help
This is a driver for the lm3560 dual flash controllers. It controls This is a driver for the lm3560 dual flash controllers. It controls
...@@ -1073,13 +1153,18 @@ config VIDEO_LM3560 ...@@ -1073,13 +1153,18 @@ config VIDEO_LM3560
config VIDEO_LM3646 config VIDEO_LM3646
tristate "LM3646 dual flash driver support" tristate "LM3646 dual flash driver support"
depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select REGMAP_I2C select REGMAP_I2C
help help
This is a driver for the lm3646 dual flash controllers. It controls This is a driver for the lm3646 dual flash controllers. It controls
flash, torch LEDs. flash, torch LEDs.
endif endif # MEDIA_CAMERA_SUPPORT
#
# Other V4L2 drivers that aren't related with Camera support
#
comment "Video improvement chips" comment "Video improvement chips"
...@@ -1168,8 +1253,9 @@ config VIDEO_I2C ...@@ -1168,8 +1253,9 @@ config VIDEO_I2C
config VIDEO_ST_MIPID02 config VIDEO_ST_MIPID02
tristate "STMicroelectronics MIPID02 CSI-2 to PARALLEL bridge" tristate "STMicroelectronics MIPID02 CSI-2 to PARALLEL bridge"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
depends on MEDIA_CAMERA_SUPPORT select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
Support for STMicroelectronics MIPID02 CSI-2 to PARALLEL bridge. Support for STMicroelectronics MIPID02 CSI-2 to PARALLEL bridge.
...@@ -1181,4 +1267,4 @@ config VIDEO_ST_MIPID02 ...@@ -1181,4 +1267,4 @@ config VIDEO_ST_MIPID02
endmenu endmenu
endif endif # VIDEO_V4L2
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config VIDEO_ET8EK8 config VIDEO_ET8EK8
tristate "ET8EK8 camera sensor support" tristate "ET8EK8 camera sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a driver for the Toshiba ET8EK8 5 MP camera sensor. This is a driver for the Toshiba ET8EK8 5 MP camera sensor.
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config VIDEO_M5MOLS config VIDEO_M5MOLS
tristate "Fujitsu M-5MOLS 8MP sensor support" tristate "Fujitsu M-5MOLS 8MP sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2
depends on MEDIA_CAMERA_SUPPORT select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
This driver supports Fujitsu M-5MOLS camera sensor with ISP This driver supports Fujitsu M-5MOLS camera sensor with ISP
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config VIDEO_SMIAPP config VIDEO_SMIAPP
tristate "SMIA++/SMIA sensor support" tristate "SMIA++/SMIA sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAVE_CLK depends on I2C && VIDEO_V4L2 && HAVE_CLK
depends on MEDIA_CAMERA_SUPPORT select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEO_SMIAPP_PLL select VIDEO_SMIAPP_PLL
select V4L2_FWNODE select V4L2_FWNODE
help help
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
config MEDIA_CONTROLLER config MEDIA_CONTROLLER
bool "Media Controller API" bool "Media Controller API"
depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_PLATFORM_SUPPORT
help help
Enable the media controller API used to query media devices internal Enable the media controller API used to query media devices internal
topology and configure it dynamically. topology and configure it dynamically.
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config VIDEO_COBALT config VIDEO_COBALT
tristate "Cisco Cobalt support" tristate "Cisco Cobalt support"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && I2C
depends on PCI_MSI && MTD_COMPLEX_MAPPINGS depends on PCI_MSI && MTD_COMPLEX_MAPPINGS
depends on (GPIOLIB && DRM_I2C_ADV7511=n) || COMPILE_TEST depends on (GPIOLIB && DRM_I2C_ADV7511=n) || COMPILE_TEST
depends on SND depends on SND
depends on MTD depends on MTD
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select I2C_ALGOBIT select I2C_ALGOBIT
select SND_PCM select SND_PCM
select VIDEO_ADV7604 select VIDEO_ADV7604
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
config VIDEO_IPU3_CIO2 config VIDEO_IPU3_CIO2
tristate "Intel ipu3-cio2 driver" tristate "Intel ipu3-cio2 driver"
depends on VIDEO_V4L2 && PCI depends on VIDEO_V4L2 && PCI
depends on VIDEO_V4L2_SUBDEV_API
depends on (X86 && ACPI) || COMPILE_TEST depends on (X86 && ACPI) || COMPILE_TEST
depends on MEDIA_CONTROLLER select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
select VIDEOBUF2_DMA_SG select VIDEOBUF2_DMA_SG
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config STA2X11_VIP config STA2X11_VIP
tristate "STA2X11 VIP Video For Linux" tristate "STA2X11 VIP Video For Linux"
depends on PCI && VIDEO_V4L2 && VIRT_TO_BUS && I2C
depends on STA2X11 || COMPILE_TEST depends on STA2X11 || COMPILE_TEST
select VIDEO_ADV7180 if MEDIA_SUBDRV_AUTOSELECT select VIDEO_ADV7180 if MEDIA_SUBDRV_AUTOSELECT
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
depends on PCI && VIDEO_V4L2 && VIRT_TO_BUS select MEDIA_CONTROLLER
depends on VIDEO_V4L2_SUBDEV_API select VIDEO_V4L2_SUBDEV_API
depends on I2C
help help
Say Y for support for STA2X11 VIP (Video Input Port) capture Say Y for support for STA2X11 VIP (Video Input Port) capture
device. device.
......
...@@ -63,7 +63,9 @@ config VIDEO_VIU ...@@ -63,7 +63,9 @@ config VIDEO_VIU
config VIDEO_MUX config VIDEO_MUX
tristate "Video Multiplexer" tristate "Video Multiplexer"
select MULTIPLEXER select MULTIPLEXER
depends on VIDEO_V4L2 && OF && VIDEO_V4L2_SUBDEV_API && MEDIA_CONTROLLER depends on VIDEO_V4L2 && OF
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select REGMAP select REGMAP
select V4L2_FWNODE select V4L2_FWNODE
help help
...@@ -71,10 +73,12 @@ config VIDEO_MUX ...@@ -71,10 +73,12 @@ config VIDEO_MUX
config VIDEO_OMAP3 config VIDEO_OMAP3
tristate "OMAP 3 Camera support" tristate "OMAP 3 Camera support"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && I2C
depends on (ARCH_OMAP3 && OMAP_IOMMU) || COMPILE_TEST depends on (ARCH_OMAP3 && OMAP_IOMMU) || COMPILE_TEST
depends on COMMON_CLK && OF depends on COMMON_CLK && OF
select ARM_DMA_USE_IOMMU if OMAP_IOMMU select ARM_DMA_USE_IOMMU if OMAP_IOMMU
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select MFD_SYSCON select MFD_SYSCON
select V4L2_FWNODE select V4L2_FWNODE
...@@ -99,16 +103,19 @@ config VIDEO_PXA27x ...@@ -99,16 +103,19 @@ config VIDEO_PXA27x
config VIDEO_QCOM_CAMSS config VIDEO_QCOM_CAMSS
tristate "Qualcomm V4L2 Camera Subsystem driver" tristate "Qualcomm V4L2 Camera Subsystem driver"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2
depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_SG select VIDEOBUF2_DMA_SG
select V4L2_FWNODE select V4L2_FWNODE
config VIDEO_S3C_CAMIF config VIDEO_S3C_CAMIF
tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver" tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && I2C && PM
depends on PM
depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
help help
This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
...@@ -119,9 +126,10 @@ config VIDEO_S3C_CAMIF ...@@ -119,9 +126,10 @@ config VIDEO_S3C_CAMIF
config VIDEO_STM32_DCMI config VIDEO_STM32_DCMI
tristate "STM32 Digital Camera Memory Interface (DCMI) support" tristate "STM32 Digital Camera Memory Interface (DCMI) support"
depends on VIDEO_V4L2 && OF && MEDIA_CONTROLLER depends on VIDEO_V4L2 && OF
depends on ARCH_STM32 || COMPILE_TEST depends on ARCH_STM32 || COMPILE_TEST
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select MEDIA_CONTROLLER
select V4L2_FWNODE select V4L2_FWNODE
help help
This module makes the STM32 Digital Camera Memory Interface (DCMI) This module makes the STM32 Digital Camera Memory Interface (DCMI)
...@@ -148,7 +156,9 @@ source "drivers/media/platform/sunxi/Kconfig" ...@@ -148,7 +156,9 @@ source "drivers/media/platform/sunxi/Kconfig"
config VIDEO_TI_CAL config VIDEO_TI_CAL
tristate "TI CAL (Camera Adaptation Layer) driver" tristate "TI CAL (Camera Adaptation Layer) driver"
depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on VIDEO_DEV && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select V4L2_FWNODE select V4L2_FWNODE
...@@ -432,9 +442,11 @@ config VIDEO_RENESAS_FCP ...@@ -432,9 +442,11 @@ config VIDEO_RENESAS_FCP
config VIDEO_RENESAS_VSP1 config VIDEO_RENESAS_VSP1
tristate "Renesas VSP1 Video Processing Engine" tristate "Renesas VSP1 Video Processing Engine"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2
depends on ARCH_RENESAS || COMPILE_TEST depends on ARCH_RENESAS || COMPILE_TEST
depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select VIDEOBUF2_VMALLOC select VIDEOBUF2_VMALLOC
help help
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config VIDEO_AM437X_VPFE config VIDEO_AM437X_VPFE
tristate "TI AM437x VPFE video capture driver" tristate "TI AM437x VPFE video capture driver"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2
depends on SOC_AM43XX || COMPILE_TEST depends on SOC_AM43XX || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select V4L2_FWNODE select V4L2_FWNODE
help help
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config VIDEO_ATMEL_ISC config VIDEO_ATMEL_ISC
tristate "ATMEL Image Sensor Controller (ISC) support" tristate "ATMEL Image Sensor Controller (ISC) support"
depends on VIDEO_V4L2 && COMMON_CLK && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && COMMON_CLK
depends on ARCH_AT91 || COMPILE_TEST depends on ARCH_AT91 || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select REGMAP_MMIO select REGMAP_MMIO
select V4L2_FWNODE select V4L2_FWNODE
......
...@@ -13,8 +13,8 @@ if VIDEO_CADENCE ...@@ -13,8 +13,8 @@ if VIDEO_CADENCE
config VIDEO_CADENCE_CSI2RX config VIDEO_CADENCE_CSI2RX
tristate "Cadence MIPI-CSI2 RX Controller" tristate "Cadence MIPI-CSI2 RX Controller"
depends on VIDEO_V4L2 depends on VIDEO_V4L2
depends on MEDIA_CONTROLLER select MEDIA_CONTROLLER
depends on VIDEO_V4L2_SUBDEV_API select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
Support for the Cadence MIPI CSI2 Receiver controller. Support for the Cadence MIPI CSI2 Receiver controller.
...@@ -25,8 +25,8 @@ config VIDEO_CADENCE_CSI2RX ...@@ -25,8 +25,8 @@ config VIDEO_CADENCE_CSI2RX
config VIDEO_CADENCE_CSI2TX config VIDEO_CADENCE_CSI2TX
tristate "Cadence MIPI-CSI2 TX Controller" tristate "Cadence MIPI-CSI2 TX Controller"
depends on VIDEO_V4L2 depends on VIDEO_V4L2
depends on MEDIA_CONTROLLER select MEDIA_CONTROLLER
depends on VIDEO_V4L2_SUBDEV_API select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
Support for the Cadence MIPI CSI2 Transceiver controller. Support for the Cadence MIPI CSI2 Transceiver controller.
......
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
config VIDEO_SAMSUNG_EXYNOS4_IS config VIDEO_SAMSUNG_EXYNOS4_IS
tristate "Samsung S5P/EXYNOS4 SoC series Camera Subsystem driver" tristate "Samsung S5P/EXYNOS4 SoC series Camera Subsystem driver"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && OF && COMMON_CLK
depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
depends on OF && COMMON_CLK select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE select V4L2_FWNODE
help help
Say Y here to enable camera host interface devices for Say Y here to enable camera host interface devices for
......
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
config VIDEO_RCAR_CSI2 config VIDEO_RCAR_CSI2
tristate "R-Car MIPI CSI-2 Receiver" tristate "R-Car MIPI CSI-2 Receiver"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && OF depends on VIDEO_V4L2 && OF
depends on ARCH_RENESAS || COMPILE_TEST depends on ARCH_RENESAS || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select RESET_CONTROLLER select RESET_CONTROLLER
select V4L2_FWNODE select V4L2_FWNODE
help help
...@@ -14,8 +16,10 @@ config VIDEO_RCAR_CSI2 ...@@ -14,8 +16,10 @@ config VIDEO_RCAR_CSI2
config VIDEO_RCAR_VIN config VIDEO_RCAR_VIN
tristate "R-Car Video Input (VIN) Driver" tristate "R-Car Video Input (VIN) Driver"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && OF && MEDIA_CONTROLLER depends on VIDEO_V4L2 && OF
depends on ARCH_RENESAS || COMPILE_TEST depends on ARCH_RENESAS || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select V4L2_FWNODE select V4L2_FWNODE
help help
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
config VIDEO_SUN4I_CSI config VIDEO_SUN4I_CSI
tristate "Allwinner A10 CMOS Sensor Interface Support" tristate "Allwinner A10 CMOS Sensor Interface Support"
depends on VIDEO_V4L2 && COMMON_CLK && VIDEO_V4L2_SUBDEV_API && HAS_DMA depends on VIDEO_V4L2 && COMMON_CLK && HAS_DMA
depends on ARCH_SUNXI || COMPILE_TEST depends on ARCH_SUNXI || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select V4L2_FWNODE select V4L2_FWNODE
help help
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config VIDEO_SUN6I_CSI config VIDEO_SUN6I_CSI
tristate "Allwinner V3s Camera Sensor Interface driver" tristate "Allwinner V3s Camera Sensor Interface driver"
depends on VIDEO_V4L2 && COMMON_CLK && VIDEO_V4L2_SUBDEV_API && HAS_DMA depends on VIDEO_V4L2 && COMMON_CLK && HAS_DMA
depends on ARCH_SUNXI || COMPILE_TEST depends on ARCH_SUNXI || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select REGMAP_MMIO select REGMAP_MMIO
select V4L2_FWNODE select V4L2_FWNODE
......
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
config VIDEO_XILINX config VIDEO_XILINX
tristate "Xilinx Video IP (EXPERIMENTAL)" tristate "Xilinx Video IP (EXPERIMENTAL)"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && OF && HAS_DMA depends on VIDEO_V4L2 && OF && HAS_DMA
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select V4L2_FWNODE select V4L2_FWNODE
help help
......
...@@ -9,7 +9,9 @@ menu "SPI helper chips" ...@@ -9,7 +9,9 @@ menu "SPI helper chips"
config VIDEO_GS1662 config VIDEO_GS1662
tristate "Gennum Serializers video" tristate "Gennum Serializers video"
depends on SPI && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on SPI && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help help
Enable the GS1662 driver which serializes video streams. Enable the GS1662 driver which serializes video streams.
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config VIDEO_VIMC config VIDEO_VIMC
tristate "Virtual Media Controller Driver (VIMC)" tristate "Virtual Media Controller Driver (VIMC)"
depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on VIDEO_DEV && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_VMALLOC select VIDEOBUF2_VMALLOC
select VIDEO_V4L2_TPG select VIDEO_V4L2_TPG
help help
......
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
config VIDEO_HANTRO config VIDEO_HANTRO
tristate "Hantro VPU driver" tristate "Hantro VPU driver"
depends on ARCH_MXC || ARCH_ROCKCHIP || COMPILE_TEST depends on ARCH_MXC || ARCH_ROCKCHIP || COMPILE_TEST
depends on VIDEO_DEV && VIDEO_V4L2 && MEDIA_CONTROLLER depends on VIDEO_DEV && VIDEO_V4L2
depends on MEDIA_CONTROLLER_REQUEST_API select MEDIA_CONTROLLER
select MEDIA_CONTROLLER_REQUEST_API
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select VIDEOBUF2_VMALLOC select VIDEOBUF2_VMALLOC
select V4L2_MEM2MEM_DEV select V4L2_MEM2MEM_DEV
......
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
config VIDEO_IMX_MEDIA config VIDEO_IMX_MEDIA
tristate "i.MX5/6 V4L2 media core driver" tristate "i.MX5/6 V4L2 media core driver"
depends on ARCH_MXC || COMPILE_TEST depends on ARCH_MXC || COMPILE_TEST
depends on MEDIA_CONTROLLER && VIDEO_V4L2 && IMX_IPUV3_CORE depends on VIDEO_V4L2 && IMX_IPUV3_CORE
depends on VIDEO_V4L2_SUBDEV_API select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
depends on HAS_DMA depends on HAS_DMA
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select V4L2_FWNODE select V4L2_FWNODE
......
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
config VIDEO_IPU3_IMGU config VIDEO_IPU3_IMGU
tristate "Intel ipu3-imgu driver" tristate "Intel ipu3-imgu driver"
depends on PCI && VIDEO_V4L2 depends on PCI && VIDEO_V4L2
depends on MEDIA_CONTROLLER && VIDEO_V4L2_SUBDEV_API
depends on X86 depends on X86
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select IOMMU_IOVA select IOMMU_IOVA
select VIDEOBUF2_DMA_SG select VIDEOBUF2_DMA_SG
help help
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
config VIDEO_OMAP4 config VIDEO_OMAP4
tristate "OMAP 4 Camera support" tristate "OMAP 4 Camera support"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && I2C depends on VIDEO_V4L2 && I2C
depends on ARCH_OMAP4 || COMPILE_TEST depends on ARCH_OMAP4 || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select MFD_SYSCON select MFD_SYSCON
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
help help
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
config VIDEO_ROCKCHIP_ISP1 config VIDEO_ROCKCHIP_ISP1
tristate "Rockchip Image Signal Processing v1 Unit driver" tristate "Rockchip Image Signal Processing v1 Unit driver"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2
depends on ARCH_ROCKCHIP || COMPILE_TEST depends on ARCH_ROCKCHIP || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select VIDEOBUF2_VMALLOC select VIDEOBUF2_VMALLOC
select V4L2_FWNODE select V4L2_FWNODE
......
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
config VIDEO_SUNXI_CEDRUS config VIDEO_SUNXI_CEDRUS
tristate "Allwinner Cedrus VPU driver" tristate "Allwinner Cedrus VPU driver"
depends on VIDEO_DEV && VIDEO_V4L2 && MEDIA_CONTROLLER depends on VIDEO_DEV && VIDEO_V4L2
depends on HAS_DMA depends on HAS_DMA
depends on OF depends on OF
depends on MEDIA_CONTROLLER_REQUEST_API select MEDIA_CONTROLLER
select MEDIA_CONTROLLER_REQUEST_API
select SUNXI_SRAM select SUNXI_SRAM
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
select V4L2_MEM2MEM_DEV select V4L2_MEM2MEM_DEV
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment