1# SPDX-License-Identifier: GPL-2.0-only
2
3config VIDEO_AU0828
4	tristate "Auvitek AU0828 support"
5	depends on I2C && INPUT && DVB_CORE && USB && VIDEO_V4L2
6	select MEDIA_CONTROLLER
7	select MEDIA_CONTROLLER_DVB
8	select I2C_ALGOBIT
9	select VIDEO_TVEEPROM
10	select VIDEOBUF2_VMALLOC if VIDEO_V4L2
11	select DVB_AU8522_DTV if MEDIA_SUBDRV_AUTOSELECT
12	select MEDIA_TUNER_XC5000 if MEDIA_SUBDRV_AUTOSELECT
13	select MEDIA_TUNER_MXL5007T if MEDIA_SUBDRV_AUTOSELECT
14	select MEDIA_TUNER_TDA18271 if MEDIA_SUBDRV_AUTOSELECT
15	help
16	  This is a hybrid analog/digital tv capture driver for
17	  Auvitek's AU0828 USB device.
18
19	  To compile this driver as a module, choose M here: the
20	  module will be called au0828
21
22config VIDEO_AU0828_V4L2
23	bool "Auvitek AU0828 v4l2 analog video support"
24	depends on VIDEO_AU0828
25	depends on VIDEO_V4L2=y || VIDEO_V4L2=VIDEO_AU0828
26	select DVB_AU8522_V4L if MEDIA_SUBDRV_AUTOSELECT
27	select VIDEO_TUNER
28	default y
29	help
30	  This is a video4linux driver for Auvitek's USB device.
31
32	  Choose Y here to include support for v4l2 analog video
33	  capture within the au0828 driver.
34
35config VIDEO_AU0828_RC
36	bool "AU0828 Remote Controller support"
37	depends on RC_CORE
38	depends on !(RC_CORE=m && VIDEO_AU0828=y)
39	depends on VIDEO_AU0828
40	help
41	   Enables Remote Controller support on au0828 driver.
42