1# SPDX-License-Identifier: GPL-2.0-only
2
3comment "Microchip Technology, Inc. media platform drivers"
4
5config VIDEO_MICROCHIP_ISC
6	tristate "Microchip Image Sensor Controller (ISC) support"
7	depends on V4L_PLATFORM_DRIVERS
8	depends on VIDEO_DEV && COMMON_CLK
9	depends on ARCH_AT91 || COMPILE_TEST
10	select MEDIA_CONTROLLER
11	select VIDEO_V4L2_SUBDEV_API
12	select VIDEOBUF2_DMA_CONTIG
13	select REGMAP_MMIO
14	select V4L2_FWNODE
15	select VIDEO_MICROCHIP_ISC_BASE
16	help
17	   This module makes the Microchip Image Sensor Controller available
18	   as a v4l2 device.
19
20	   To compile this driver as a module, choose M here: the
21	   module will be called microchip-isc.
22
23config VIDEO_MICROCHIP_XISC
24	tristate "Microchip eXtended Image Sensor Controller (XISC) support"
25	depends on V4L_PLATFORM_DRIVERS
26	depends on VIDEO_DEV && COMMON_CLK
27	depends on ARCH_AT91 || COMPILE_TEST
28	select VIDEOBUF2_DMA_CONTIG
29	select REGMAP_MMIO
30	select V4L2_FWNODE
31	select VIDEO_MICROCHIP_ISC_BASE
32	select MEDIA_CONTROLLER
33	select VIDEO_V4L2_SUBDEV_API
34	help
35	   This module makes the Microchip eXtended Image Sensor Controller
36	   available as a v4l2 device.
37
38	   To compile this driver as a module, choose M here: the
39	   module will be called microchip-xisc.
40
41config VIDEO_MICROCHIP_ISC_BASE
42	tristate
43	default n
44	help
45	  Microchip ISC and XISC common code base.
46
47config VIDEO_MICROCHIP_CSI2DC
48	tristate "Microchip CSI2 Demux Controller"
49	depends on V4L_PLATFORM_DRIVERS
50	depends on VIDEO_DEV && COMMON_CLK && OF
51	depends on ARCH_AT91 || COMPILE_TEST
52	select MEDIA_CONTROLLER
53	select VIDEO_V4L2_SUBDEV_API
54	select V4L2_FWNODE
55	help
56	  CSI2 Demux Controller driver. CSI2DC is a helper chip
57	  that converts IDI interface byte stream to a parallel pixel stream.
58	  It supports various RAW formats as input.
59
60	  To compile this driver as a module, choose M here: the
61	  module will be called microchip-csi2dc.
62