162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig VIDEO_VIVID
362306a36Sopenharmony_ci	tristate "Virtual Video Test Driver"
462306a36Sopenharmony_ci	depends on VIDEO_DEV && !SPARC32 && !SPARC64 && FB
562306a36Sopenharmony_ci	depends on HAS_DMA
662306a36Sopenharmony_ci	select FB_IOMEM_HELPERS
762306a36Sopenharmony_ci	select FONT_SUPPORT
862306a36Sopenharmony_ci	select FONT_8x16
962306a36Sopenharmony_ci	select VIDEOBUF2_VMALLOC
1062306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1162306a36Sopenharmony_ci	select VIDEO_V4L2_TPG
1262306a36Sopenharmony_ci	select MEDIA_CONTROLLER
1362306a36Sopenharmony_ci	select MEDIA_CONTROLLER_REQUEST_API
1462306a36Sopenharmony_ci	help
1562306a36Sopenharmony_ci	  Enables a virtual video driver. This driver emulates a webcam,
1662306a36Sopenharmony_ci	  TV, S-Video and HDMI capture hardware, including VBI support for
1762306a36Sopenharmony_ci	  the SDTV inputs. Also video output, VBI output, radio receivers,
1862306a36Sopenharmony_ci	  transmitters and software defined radio capture is emulated.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci	  It is highly configurable and is ideal for testing applications.
2162306a36Sopenharmony_ci	  Error injection is supported to test rare errors that are hard
2262306a36Sopenharmony_ci	  to reproduce in real hardware.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci	  Say Y here if you want to test video apps or debug V4L devices.
2562306a36Sopenharmony_ci	  When in doubt, say N.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig VIDEO_VIVID_CEC
2862306a36Sopenharmony_ci	bool "Enable CEC emulation support"
2962306a36Sopenharmony_ci	depends on VIDEO_VIVID
3062306a36Sopenharmony_ci	select CEC_CORE
3162306a36Sopenharmony_ci	help
3262306a36Sopenharmony_ci	  When selected the vivid module will emulate the optional
3362306a36Sopenharmony_ci	  HDMI CEC feature.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciconfig VIDEO_VIVID_MAX_DEVS
3662306a36Sopenharmony_ci	int "Maximum number of devices"
3762306a36Sopenharmony_ci	depends on VIDEO_VIVID
3862306a36Sopenharmony_ci	default "64"
3962306a36Sopenharmony_ci	help
4062306a36Sopenharmony_ci	  This allows you to specify the maximum number of devices supported
4162306a36Sopenharmony_ci	  by the vivid driver.
42