1# SPDX-License-Identifier: GPL-2.0-only
2
3comment "Atmel media platform drivers"
4
5config VIDEO_ATMEL_ISC
6	tristate "ATMEL Image Sensor Controller (ISC) support (DEPRECATED)"
7	depends on V4L_PLATFORM_DRIVERS
8	depends on VIDEO_DEV && COMMON_CLK
9	depends on ARCH_AT91 || COMPILE_TEST
10	depends on !VIDEO_MICROCHIP_ISC_BASE || COMPILE_TEST
11	select MEDIA_CONTROLLER
12	select VIDEO_V4L2_SUBDEV_API
13	select VIDEOBUF2_DMA_CONTIG
14	select REGMAP_MMIO
15	select V4L2_FWNODE
16	select VIDEO_ATMEL_ISC_BASE
17	help
18	   This module makes the ATMEL Image Sensor Controller available
19	   as a v4l2 device.
20
21	   This driver is deprecated and is scheduled for removal by
22	   the beginning of 2026. See the TODO file for more information.
23
24config VIDEO_ATMEL_XISC
25	tristate "ATMEL eXtended Image Sensor Controller (XISC) support (DEPRECATED)"
26	depends on V4L_PLATFORM_DRIVERS
27	depends on VIDEO_DEV && COMMON_CLK
28	depends on ARCH_AT91 || COMPILE_TEST
29	depends on !VIDEO_MICROCHIP_ISC_BASE || COMPILE_TEST
30	select VIDEOBUF2_DMA_CONTIG
31	select REGMAP_MMIO
32	select V4L2_FWNODE
33	select VIDEO_ATMEL_ISC_BASE
34	select MEDIA_CONTROLLER
35	select VIDEO_V4L2_SUBDEV_API
36	help
37	   This module makes the ATMEL eXtended Image Sensor Controller
38	   available as a v4l2 device.
39
40	   This driver is deprecated and is scheduled for removal by
41	   the beginning of 2026. See the TODO file for more information.
42
43config VIDEO_ATMEL_ISC_BASE
44	tristate
45	default n
46	help
47	  ATMEL ISC and XISC common code base.
48