Kconfig 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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
  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. #
  75. # Video4Linux support
  76. # Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
  77. #
  78. config VIDEO_DEV
  79. tristate
  80. depends on MEDIA_SUPPORT
  81. depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
  82. default y
  83. config VIDEO_V4L2_SUBDEV_API
  84. bool "V4L2 sub-device userspace API"
  85. depends on VIDEO_DEV && MEDIA_CONTROLLER
  86. ---help---
  87. Enables the V4L2 sub-device pad-level userspace API used to configure
  88. video format, size and frame rate between hardware blocks.
  89. This API is mostly used by camera interfaces in embedded platforms.
  90. source "drivers/media/v4l2-core/Kconfig"
  91. #
  92. # DVB Core
  93. # Only enables if one of DTV is selected
  94. #
  95. config DVB_CORE
  96. tristate
  97. depends on MEDIA_SUPPORT
  98. depends on MEDIA_DIGITAL_TV_SUPPORT
  99. default y
  100. select CRC32
  101. config DVB_NET
  102. bool "DVB Network Support"
  103. default (NET && INET)
  104. depends on NET && INET && DVB_CORE
  105. help
  106. This option enables DVB Network Support which is a part of the DVB
  107. standard. It is used, for example, by automatic firmware updates used
  108. on Set-Top-Boxes. It can also be used to access the Internet via the
  109. DVB card, if the network provider supports it.
  110. You may want to disable the network support on embedded devices. If
  111. unsure say Y.
  112. # This Kconfig option is used by both PCI and USB drivers
  113. config TTPCI_EEPROM
  114. tristate
  115. depends on I2C
  116. default n
  117. source "drivers/media/dvb-core/Kconfig"
  118. comment "Media drivers"
  119. source "drivers/media/rc/Kconfig"
  120. #
  121. # V4L platform/mem2mem drivers
  122. #
  123. source "drivers/media/usb/Kconfig"
  124. source "drivers/media/pci/Kconfig"
  125. source "drivers/media/platform/Kconfig"
  126. source "drivers/media/mmc/Kconfig"
  127. source "drivers/media/parport/Kconfig"
  128. source "drivers/media/radio/Kconfig"
  129. comment "Supported FireWire (IEEE 1394) Adapters"
  130. depends on DVB_CORE && FIREWIRE
  131. source "drivers/media/firewire/Kconfig"
  132. # Common driver options
  133. source "drivers/media/common/Kconfig"
  134. comment "Media ancillary drivers (tuners, sensors, i2c, frontends)"
  135. #
  136. # Ancillary drivers (tuners, i2c, frontends)
  137. #
  138. config MEDIA_SUBDRV_AUTOSELECT
  139. bool "Autoselect ancillary drivers (tuners, sensors, i2c, frontends)"
  140. depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
  141. depends on HAS_IOMEM
  142. select I2C
  143. select I2C_MUX
  144. default y
  145. help
  146. By default, a media driver auto-selects all possible ancillary
  147. devices such as tuners, sensors, video encoders/decoders and
  148. frontends, that are used by any of the supported devices.
  149. This is generally the right thing to do, except when there
  150. are strict constraints with regards to the kernel size,
  151. like on embedded systems.
  152. Use this option with care, as deselecting ancillary drivers which
  153. are, in fact, necessary will result in the lack of the needed
  154. functionality for your device (it may not tune or may not have
  155. the needed demodulators).
  156. If unsure say Y.
  157. config MEDIA_ATTACH
  158. bool
  159. depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
  160. depends on MODULES
  161. default MODULES
  162. source "drivers/media/i2c/Kconfig"
  163. source "drivers/media/tuners/Kconfig"
  164. source "drivers/media/dvb-frontends/Kconfig"
  165. endif # MEDIA_SUPPORT