162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciconfig VIDEO_AU0828
462306a36Sopenharmony_ci	tristate "Auvitek AU0828 support"
562306a36Sopenharmony_ci	depends on I2C && INPUT && DVB_CORE && USB && VIDEO_DEV
662306a36Sopenharmony_ci	select MEDIA_CONTROLLER
762306a36Sopenharmony_ci	select MEDIA_CONTROLLER_DVB
862306a36Sopenharmony_ci	select I2C_ALGOBIT
962306a36Sopenharmony_ci	select VIDEO_TVEEPROM
1062306a36Sopenharmony_ci	select VIDEOBUF2_VMALLOC if VIDEO_DEV
1162306a36Sopenharmony_ci	select DVB_AU8522_DTV if MEDIA_SUBDRV_AUTOSELECT
1262306a36Sopenharmony_ci	select MEDIA_TUNER_XC5000 if MEDIA_SUBDRV_AUTOSELECT
1362306a36Sopenharmony_ci	select MEDIA_TUNER_MXL5007T if MEDIA_SUBDRV_AUTOSELECT
1462306a36Sopenharmony_ci	select MEDIA_TUNER_TDA18271 if MEDIA_SUBDRV_AUTOSELECT
1562306a36Sopenharmony_ci	help
1662306a36Sopenharmony_ci	  This is a hybrid analog/digital tv capture driver for
1762306a36Sopenharmony_ci	  Auvitek's AU0828 USB device.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
2062306a36Sopenharmony_ci	  module will be called au0828
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciconfig VIDEO_AU0828_V4L2
2362306a36Sopenharmony_ci	bool "Auvitek AU0828 v4l2 analog video support"
2462306a36Sopenharmony_ci	depends on VIDEO_AU0828
2562306a36Sopenharmony_ci	depends on VIDEO_DEV=y || VIDEO_DEV=VIDEO_AU0828
2662306a36Sopenharmony_ci	select DVB_AU8522_V4L if MEDIA_SUBDRV_AUTOSELECT
2762306a36Sopenharmony_ci	select VIDEO_TUNER
2862306a36Sopenharmony_ci	default y
2962306a36Sopenharmony_ci	help
3062306a36Sopenharmony_ci	  This is a video4linux driver for Auvitek's USB device.
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ci	  Choose Y here to include support for v4l2 analog video
3362306a36Sopenharmony_ci	  capture within the au0828 driver.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciconfig VIDEO_AU0828_RC
3662306a36Sopenharmony_ci	bool "AU0828 Remote Controller support"
3762306a36Sopenharmony_ci	depends on RC_CORE
3862306a36Sopenharmony_ci	depends on !(RC_CORE=m && VIDEO_AU0828=y)
3962306a36Sopenharmony_ci	depends on VIDEO_AU0828
4062306a36Sopenharmony_ci	help
4162306a36Sopenharmony_ci	   Enables Remote Controller support on au0828 driver.
42