Kconfig 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. #
  2. # Multimedia device configuration
  3. #
  4. menuconfig MEDIA_SUPPORT
  5. tristate "Multimedia support"
  6. depends on HAS_IOMEM
  7. help
  8. If you want to use Webcams, Video grabber devices and/or TV devices
  9. enable this option and other options below.
  10. Additional info and docs are available on the web at
  11. <http://linuxtv.org>
  12. if MEDIA_SUPPORT
  13. comment "Multimedia core support"
  14. #
  15. # Multimedia support - automatically enable V4L2 and DVB core
  16. #
  17. config MEDIA_CAMERA_SUPPORT
  18. bool "Cameras/video grabbers support"
  19. ---help---
  20. Enable support for webcams and video grabbers.
  21. Say Y when you have a webcam or a video capture grabber board.
  22. config MEDIA_ANALOG_TV_SUPPORT
  23. bool "Analog TV support"
  24. ---help---
  25. Enable analog TV support.
  26. Say Y when you have a TV board with analog support or with a
  27. hybrid analog/digital TV chipset.
  28. Note: There are several DVB cards that are based on chips that
  29. support both analog and digital TV. Disabling this option
  30. will disable support for them.
  31. config MEDIA_DIGITAL_TV_SUPPORT
  32. bool "Digital TV support"
  33. ---help---
  34. Enable digital TV support.
  35. Say Y when you have a board with digital support or a board with
  36. hybrid digital TV and analog TV.
  37. config MEDIA_RADIO_SUPPORT
  38. bool "AM/FM radio receivers/transmitters support"
  39. ---help---
  40. Enable AM/FM radio support.
  41. Additional info and docs are available on the web at
  42. <http://linuxtv.org>
  43. Say Y when you have a board with radio support.
  44. Note: There are several TV cards that are based on chips that
  45. support radio reception. Disabling this option will
  46. disable support for them.
  47. config MEDIA_SDR_SUPPORT
  48. bool "Software defined radio support"
  49. ---help---
  50. Enable software defined radio support.
  51. Say Y when you have a software defined radio device.
  52. config MEDIA_RC_SUPPORT
  53. bool "Remote Controller support"
  54. depends on INPUT
  55. ---help---
  56. Enable support for Remote Controllers on Linux. This is
  57. needed in order to support several video capture adapters,
  58. standalone IR receivers/transmitters, and RF receivers.
  59. Enable this option if you have a video capture board even
  60. if you don't need IR, as otherwise, you may not be able to
  61. compile the driver for your adapter.
  62. Say Y when you have a TV or an IR device.
  63. #
  64. # Media controller
  65. # Selectable only for webcam/grabbers, as other drivers don't use it
  66. #
  67. config MEDIA_CONTROLLER
  68. bool "Media Controller API"
  69. depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
  70. ---help---
  71. Enable the media controller API used to query media devices internal
  72. topology and configure it dynamically.
  73. This API is mostly used by camera interfaces in embedded platforms.
  74. config MEDIA_CONTROLLER_DVB
  75. bool "Enable Media controller for DVB (EXPERIMENTAL)"
  76. depends on MEDIA_CONTROLLER
  77. depends on BROKEN
  78. ---help---
  79. Enable the media controller API support for DVB.
  80. This is currently experimental.
  81. #
  82. # Video4Linux support
  83. # Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
  84. #
  85. config VIDEO_DEV
  86. tristate
  87. depends on MEDIA_SUPPORT
  88. depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
  89. default y
  90. config VIDEO_V4L2_SUBDEV_API
  91. bool "V4L2 sub-device userspace API"
  92. depends on VIDEO_DEV && MEDIA_CONTROLLER
  93. ---help---
  94. Enables the V4L2 sub-device pad-level userspace API used to configure
  95. video format, size and frame rate between hardware blocks.
  96. This API is mostly used by camera interfaces in embedded platforms.
  97. source "drivers/media/v4l2-core/Kconfig"
  98. #
  99. # DVB Core
  100. # Only enables if one of DTV is selected
  101. #
  102. config DVB_CORE
  103. tristate
  104. depends on MEDIA_SUPPORT
  105. depends on MEDIA_DIGITAL_TV_SUPPORT
  106. default y
  107. select CRC32
  108. config DVB_NET
  109. bool "DVB Network Support"
  110. default (NET && INET)
  111. depends on NET && INET && DVB_CORE
  112. help
  113. This option enables DVB Network Support which is a part of the DVB
  114. standard. It is used, for example, by automatic firmware updates used
  115. on Set-Top-Boxes. It can also be used to access the Internet via the
  116. DVB card, if the network provider supports it.
  117. You may want to disable the network support on embedded devices. If
  118. unsure say Y.
  119. # This Kconfig option is used by both PCI and USB drivers
  120. config TTPCI_EEPROM
  121. tristate
  122. depends on I2C
  123. default n
  124. source "drivers/media/dvb-core/Kconfig"
  125. comment "Media drivers"
  126. source "drivers/media/rc/Kconfig"
  127. #
  128. # V4L platform/mem2mem drivers
  129. #
  130. source "drivers/media/usb/Kconfig"
  131. source "drivers/media/pci/Kconfig"
  132. source "drivers/media/platform/Kconfig"
  133. source "drivers/media/mmc/Kconfig"
  134. source "drivers/media/radio/Kconfig"
  135. comment "Supported FireWire (IEEE 1394) Adapters"
  136. depends on DVB_CORE && FIREWIRE
  137. source "drivers/media/firewire/Kconfig"
  138. # Common driver options
  139. source "drivers/media/common/Kconfig"
  140. comment "Media ancillary drivers (tuners, sensors, i2c, frontends)"
  141. #
  142. # Ancillary drivers (tuners, i2c, frontends)
  143. #
  144. config MEDIA_SUBDRV_AUTOSELECT
  145. bool "Autoselect ancillary drivers (tuners, sensors, i2c, frontends)"
  146. depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
  147. depends on HAS_IOMEM
  148. select I2C
  149. select I2C_MUX
  150. default y
  151. help
  152. By default, a media driver auto-selects all possible ancillary
  153. devices such as tuners, sensors, video encoders/decoders and
  154. frontends, that are used by any of the supported devices.
  155. This is generally the right thing to do, except when there
  156. are strict constraints with regards to the kernel size,
  157. like on embedded systems.
  158. Use this option with care, as deselecting ancillary drivers which
  159. are, in fact, necessary will result in the lack of the needed
  160. functionality for your device (it may not tune or may not have
  161. the needed demodulators).
  162. If unsure say Y.
  163. config MEDIA_ATTACH
  164. bool
  165. depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
  166. depends on MODULES
  167. default MODULES
  168. source "drivers/media/i2c/Kconfig"
  169. source "drivers/media/tuners/Kconfig"
  170. source "drivers/media/dvb-frontends/Kconfig"
  171. endif # MEDIA_SUPPORT