| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | # | 
 | 2 | # Multimedia device configuration | 
 | 3 | # | 
 | 4 |  | 
 | 5 | menuconfig MEDIA_SUPPORT | 
 | 6 | 	tristate "Multimedia support" | 
 | 7 | 	depends on HAS_IOMEM | 
 | 8 | 	help | 
 | 9 | 	  If you want to use Video for Linux, DVB for Linux, or DAB adapters, | 
 | 10 | 	  enable this option and other options below. | 
 | 11 |  | 
 | 12 | if MEDIA_SUPPORT | 
 | 13 |  | 
 | 14 | comment "Multimedia core support" | 
 | 15 |  | 
 | 16 | # | 
 | 17 | # Media controller | 
 | 18 | # | 
 | 19 |  | 
 | 20 | config MEDIA_CONTROLLER | 
 | 21 | 	bool "Media Controller API (EXPERIMENTAL)" | 
 | 22 | 	depends on EXPERIMENTAL | 
 | 23 | 	---help--- | 
 | 24 | 	  Enable the media controller API used to query media devices internal | 
 | 25 | 	  topology and configure it dynamically. | 
 | 26 |  | 
 | 27 | 	  This API is mostly used by camera interfaces in embedded platforms. | 
 | 28 |  | 
 | 29 | # | 
 | 30 | # V4L core and enabled API's | 
 | 31 | # | 
 | 32 |  | 
 | 33 | config VIDEO_DEV | 
 | 34 | 	tristate "Video For Linux" | 
 | 35 | 	---help--- | 
 | 36 | 	  V4L core support for video capture and overlay devices, webcams and | 
 | 37 | 	  AM/FM radio cards. | 
 | 38 |  | 
 | 39 | 	  This kernel includes support for the new Video for Linux Two API, | 
 | 40 | 	  (V4L2). | 
 | 41 |  | 
 | 42 | 	  Additional info and docs are available on the web at | 
 | 43 | 	  <http://linuxtv.org> | 
 | 44 |  | 
 | 45 | 	  Documentation for V4L2 is also available on the web at | 
 | 46 | 	  <http://bytesex.org/v4l/>. | 
 | 47 |  | 
 | 48 | 	  To compile this driver as a module, choose M here: the | 
 | 49 | 	  module will be called videodev. | 
 | 50 |  | 
 | 51 | config VIDEO_V4L2_COMMON | 
 | 52 | 	tristate | 
 | 53 | 	depends on (I2C || I2C=n) && VIDEO_DEV | 
 | 54 | 	default (I2C || I2C=n) && VIDEO_DEV | 
 | 55 |  | 
 | 56 | config VIDEO_V4L2_SUBDEV_API | 
 | 57 | 	bool "V4L2 sub-device userspace API (EXPERIMENTAL)" | 
 | 58 | 	depends on VIDEO_DEV && MEDIA_CONTROLLER && EXPERIMENTAL | 
 | 59 | 	---help--- | 
 | 60 | 	  Enables the V4L2 sub-device pad-level userspace API used to configure | 
 | 61 | 	  video format, size and frame rate between hardware blocks. | 
 | 62 |  | 
 | 63 | 	  This API is mostly used by camera interfaces in embedded platforms. | 
 | 64 |  | 
 | 65 | # | 
 | 66 | # DVB Core | 
 | 67 | # | 
 | 68 |  | 
 | 69 | config DVB_CORE | 
 | 70 | 	tristate "DVB for Linux" | 
 | 71 | 	select CRC32 | 
 | 72 | 	help | 
 | 73 | 	  DVB core utility functions for device handling, software fallbacks etc. | 
 | 74 |  | 
 | 75 | 	  Enable this if you own a DVB/ATSC adapter and want to use it or if | 
 | 76 | 	  you compile Linux for a digital SetTopBox. | 
 | 77 |  | 
 | 78 | 	  Say Y when you have a DVB or an ATSC card and want to use it. | 
 | 79 |  | 
 | 80 | 	  API specs and user tools are available from <http://www.linuxtv.org/>. | 
 | 81 |  | 
 | 82 | 	  Please report problems regarding this support to the LinuxDVB | 
 | 83 | 	  mailing list. | 
 | 84 |  | 
 | 85 | 	  If unsure say N. | 
 | 86 |  | 
 | 87 | config DVB_NET | 
 | 88 | 	bool "DVB Network Support" | 
 | 89 | 	default (NET && INET) | 
 | 90 | 	depends on NET && INET && DVB_CORE | 
 | 91 | 	help | 
 | 92 | 	  This option enables DVB Network Support which is a part of the DVB | 
 | 93 | 	  standard. It is used, for example, by automatic firmware updates used | 
 | 94 | 	  on Set-Top-Boxes. It can also be used to access the Internet via the | 
 | 95 | 	  DVB card, if the network provider supports it. | 
 | 96 |  | 
 | 97 | 	  You may want to disable the network support on embedded devices. If | 
 | 98 | 	  unsure say Y. | 
 | 99 |  | 
 | 100 | config VIDEO_MEDIA | 
 | 101 | 	tristate | 
 | 102 | 	default (DVB_CORE && (VIDEO_DEV = n)) || (VIDEO_DEV && (DVB_CORE = n)) || (DVB_CORE && VIDEO_DEV) | 
 | 103 |  | 
 | 104 | comment "Multimedia drivers" | 
 | 105 |  | 
 | 106 | source "drivers/media/common/Kconfig" | 
 | 107 | source "drivers/media/rc/Kconfig" | 
 | 108 |  | 
 | 109 | # | 
 | 110 | # Tuner drivers for DVB and V4L | 
 | 111 | # | 
 | 112 |  | 
 | 113 | source "drivers/media/common/tuners/Kconfig" | 
 | 114 |  | 
 | 115 | # | 
 | 116 | # Video/Radio/Hybrid adapters | 
 | 117 | # | 
 | 118 |  | 
 | 119 | source "drivers/media/video/Kconfig" | 
 | 120 |  | 
 | 121 | source "drivers/media/radio/Kconfig" | 
 | 122 |  | 
 | 123 | # | 
 | 124 | # DVB adapters | 
 | 125 | # | 
 | 126 |  | 
 | 127 | source "drivers/media/dvb/Kconfig" | 
 | 128 |  | 
 | 129 | endif # MEDIA_SUPPORT |