# SPDX-License-Identifier: GPL-2.0-only

comment "Starfive media platform drivers"

config VIDEO_STARFIVE_CAMSS
	tristate "Starfive Camera Subsystem driver"
	depends on V4L_PLATFORM_DRIVERS
	depends on VIDEO_DEV && OF
	select MEDIA_CONTROLLER
	select VIDEO_V4L2_SUBDEV_API
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_FWNODE
	help
	   Enable this to support for the Starfive Camera subsystem
	   found on Starfive JH7110 SoC.

	   To compile this driver as a module, choose M here: the
	   module will be called stf-camss.
