| 
									
										
										
										
											2019-05-19 12:07:45 +00:00
										 |  |  | # SPDX-License-Identifier: GPL-2.0-only | 
					
						
							| 
									
										
										
										
											2016-08-17 06:05:27 +00:00
										 |  |  | config VIDEO_ATMEL_ISC | 
					
						
							|  |  |  | 	tristate "ATMEL Image Sensor Controller (ISC) 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 14:36:56 +00:00
										 |  |  | 	depends on VIDEO_V4L2 && COMMON_CLK | 
					
						
							| 
									
										
										
										
											2016-08-17 06:05:27 +00:00
										 |  |  | 	depends on ARCH_AT91 || COMPILE_TEST | 
					
						
							| 
									
										
										
											
												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
										 |  |  | 	select MEDIA_CONTROLLER | 
					
						
							|  |  |  | 	select VIDEO_V4L2_SUBDEV_API | 
					
						
							| 
									
										
										
										
											2016-08-17 06:05:27 +00:00
										 |  |  | 	select VIDEOBUF2_DMA_CONTIG | 
					
						
							|  |  |  | 	select REGMAP_MMIO | 
					
						
							| 
									
										
										
										
											2016-08-26 23:17:25 +00:00
										 |  |  | 	select V4L2_FWNODE | 
					
						
							| 
									
										
										
										
											2016-08-17 06:05:27 +00:00
										 |  |  | 	help | 
					
						
							|  |  |  | 	   This module makes the ATMEL Image Sensor Controller available | 
					
						
							| 
									
										
										
										
											2016-09-21 06:53:25 +00:00
										 |  |  | 	   as a v4l2 device. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | config VIDEO_ATMEL_ISI | 
					
						
							|  |  |  | 	tristate "ATMEL Image Sensor Interface (ISI) support" | 
					
						
							| 
									
										
										
										
											2018-05-17 17:18:12 +00:00
										 |  |  | 	depends on VIDEO_V4L2 && OF | 
					
						
							| 
									
										
										
										
											2016-09-21 06:53:25 +00:00
										 |  |  | 	depends on ARCH_AT91 || COMPILE_TEST | 
					
						
							|  |  |  | 	select VIDEOBUF2_DMA_CONTIG | 
					
						
							| 
									
										
										
										
											2016-08-26 23:17:25 +00:00
										 |  |  | 	select V4L2_FWNODE | 
					
						
							| 
									
										
										
										
											2019-03-20 10:39:44 +00:00
										 |  |  | 	help | 
					
						
							| 
									
										
										
										
											2016-09-21 06:53:25 +00:00
										 |  |  | 	  This module makes the ATMEL Image Sensor Interface available | 
					
						
							|  |  |  | 	  as a v4l2 device. |