# SPDX-License-Identifier: GPL-2.0
config VIDEO_ROCKCHIP_JPEGD
	tristate "Rockchip JPEG decoder driver"
	depends on V4L_MEM2MEM_DRIVERS
	depends on ARCH_ROCKCHIP || COMPILE_TEST
	depends on VIDEO_DEV
	depends on PM
	select V4L2_JPEG_HELPER
	select V4L2_MEM2MEM_DEV
	select VIDEOBUF2_DMA_CONTIG
	help
	  Support for the VDPU720 JPEG decoder found on Rockchip SoCs such
	  as the RK3568 and RK3588, decoding JPEG and MJPEG frames to NV12,
	  or to GREY for grayscale frames.
	  To compile this driver as a module, choose M here: the module
	  will be called rockchip-jpegd.
