162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_cicomment "Microchip Technology, Inc. media platform drivers"
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciconfig VIDEO_MICROCHIP_ISC
662306a36Sopenharmony_ci	tristate "Microchip Image Sensor Controller (ISC) support"
762306a36Sopenharmony_ci	depends on V4L_PLATFORM_DRIVERS
862306a36Sopenharmony_ci	depends on VIDEO_DEV && COMMON_CLK
962306a36Sopenharmony_ci	depends on ARCH_AT91 || COMPILE_TEST
1062306a36Sopenharmony_ci	select MEDIA_CONTROLLER
1162306a36Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
1262306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1362306a36Sopenharmony_ci	select REGMAP_MMIO
1462306a36Sopenharmony_ci	select V4L2_FWNODE
1562306a36Sopenharmony_ci	select VIDEO_MICROCHIP_ISC_BASE
1662306a36Sopenharmony_ci	help
1762306a36Sopenharmony_ci	   This module makes the Microchip Image Sensor Controller available
1862306a36Sopenharmony_ci	   as a v4l2 device.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci	   To compile this driver as a module, choose M here: the
2162306a36Sopenharmony_ci	   module will be called microchip-isc.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciconfig VIDEO_MICROCHIP_XISC
2462306a36Sopenharmony_ci	tristate "Microchip eXtended Image Sensor Controller (XISC) support"
2562306a36Sopenharmony_ci	depends on V4L_PLATFORM_DRIVERS
2662306a36Sopenharmony_ci	depends on VIDEO_DEV && COMMON_CLK
2762306a36Sopenharmony_ci	depends on ARCH_AT91 || COMPILE_TEST
2862306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
2962306a36Sopenharmony_ci	select REGMAP_MMIO
3062306a36Sopenharmony_ci	select V4L2_FWNODE
3162306a36Sopenharmony_ci	select VIDEO_MICROCHIP_ISC_BASE
3262306a36Sopenharmony_ci	select MEDIA_CONTROLLER
3362306a36Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
3462306a36Sopenharmony_ci	help
3562306a36Sopenharmony_ci	   This module makes the Microchip eXtended Image Sensor Controller
3662306a36Sopenharmony_ci	   available as a v4l2 device.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci	   To compile this driver as a module, choose M here: the
3962306a36Sopenharmony_ci	   module will be called microchip-xisc.
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciconfig VIDEO_MICROCHIP_ISC_BASE
4262306a36Sopenharmony_ci	tristate
4362306a36Sopenharmony_ci	default n
4462306a36Sopenharmony_ci	help
4562306a36Sopenharmony_ci	  Microchip ISC and XISC common code base.
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ciconfig VIDEO_MICROCHIP_CSI2DC
4862306a36Sopenharmony_ci	tristate "Microchip CSI2 Demux Controller"
4962306a36Sopenharmony_ci	depends on V4L_PLATFORM_DRIVERS
5062306a36Sopenharmony_ci	depends on VIDEO_DEV && COMMON_CLK && OF
5162306a36Sopenharmony_ci	depends on ARCH_AT91 || COMPILE_TEST
5262306a36Sopenharmony_ci	select MEDIA_CONTROLLER
5362306a36Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
5462306a36Sopenharmony_ci	select V4L2_FWNODE
5562306a36Sopenharmony_ci	help
5662306a36Sopenharmony_ci	  CSI2 Demux Controller driver. CSI2DC is a helper chip
5762306a36Sopenharmony_ci	  that converts IDI interface byte stream to a parallel pixel stream.
5862306a36Sopenharmony_ci	  It supports various RAW formats as input.
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
6162306a36Sopenharmony_ci	  module will be called microchip-csi2dc.
62