Kconfig 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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_RC_SUPPORT
  48. bool "Remote Controller support"
  49. depends on INPUT
  50. ---help---
  51. Enable support for Remote Controllers on Linux. This is
  52. needed in order to support several video capture adapters,
  53. standalone IR receivers/transmitters, and RF receivers.
  54. Enable this option if you have a video capture board even
  55. if you don't need IR, as otherwise, you may not be able to
  56. compile the driver for your adapter.
  57. Say Y when you have a TV or an IR device.
  58. #
  59. # Media controller
  60. # Selectable only for webcam/grabbers, as other drivers don't use it
  61. #
  62. config MEDIA_CONTROLLER
  63. bool "Media Controller API"
  64. depends on MEDIA_CAMERA_SUPPORT
  65. ---help---
  66. Enable the media controller API used to query media devices internal
  67. topology and configure it dynamically.
  68. This API is mostly used by camera interfaces in embedded platforms.
  69. #
  70. # Video4Linux support
  71. # Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
  72. #
  73. config VIDEO_DEV
  74. tristate
  75. depends on MEDIA_SUPPORT
  76. depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT
  77. default y
  78. config VIDEO_V4L2_SUBDEV_API
  79. bool "V4L2 sub-device userspace API"
  80. depends on VIDEO_DEV && MEDIA_CONTROLLER
  81. ---help---
  82. Enables the V4L2 sub-device pad-level userspace API used to configure
  83. video format, size and frame rate between hardware blocks.
  84. This API is mostly used by camera interfaces in embedded platforms.
  85. source "drivers/media/v4l2-core/Kconfig"
  86. #
  87. # DVB Core
  88. # Only enables if one of DTV is selected
  89. #
  90. config DVB_CORE
  91. tristate
  92. depends on MEDIA_SUPPORT
  93. depends on MEDIA_DIGITAL_TV_SUPPORT
  94. default y
  95. select CRC32
  96. config DVB_NET
  97. bool "DVB Network Support"
  98. default (NET && INET)
  99. depends on NET && INET && DVB_CORE
  100. help
  101. This option enables DVB Network Support which is a part of the DVB
  102. standard. It is used, for example, by automatic firmware updates used
  103. on Set-Top-Boxes. It can also be used to access the Internet via the
  104. DVB card, if the network provider supports it.
  105. You may want to disable the network support on embedded devices. If
  106. unsure say Y.
  107. # This Kconfig option is used by both PCI and USB drivers
  108. config TTPCI_EEPROM
  109. tristate
  110. depends on I2C
  111. default n
  112. source "drivers/media/dvb-core/Kconfig"
  113. comment "Media drivers"
  114. source "drivers/media/rc/Kconfig"
  115. #
  116. # V4L platform/mem2mem drivers
  117. #
  118. source "drivers/media/usb/Kconfig"
  119. source "drivers/media/pci/Kconfig"
  120. source "drivers/media/platform/Kconfig"
  121. source "drivers/media/mmc/Kconfig"
  122. source "drivers/media/parport/Kconfig"
  123. source "drivers/media/radio/Kconfig"
  124. comment "Supported FireWire (IEEE 1394) Adapters"
  125. depends on DVB_CORE && FIREWIRE
  126. source "drivers/media/firewire/Kconfig"
  127. # Common driver options
  128. source "drivers/media/common/Kconfig"
  129. comment "Media ancillary drivers (tuners, sensors, i2c, frontends)"
  130. #
  131. # Ancillary drivers (tuners, i2c, frontends)
  132. #
  133. config MEDIA_SUBDRV_AUTOSELECT
  134. bool "Autoselect ancillary drivers (tuners, sensors, i2c, frontends)"
  135. depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT
  136. default y
  137. help
  138. By default, a media driver auto-selects all possible ancillary
  139. devices such as tuners, sensors, video encoders/decoders and
  140. frontends, that are used by any of the supported devices.
  141. This is generally the right thing to do, except when there
  142. are strict constraints with regards to the kernel size,
  143. like on embedded systems.
  144. Use this option with care, as deselecting ancillary drivers which
  145. are, in fact, necessary will result in the lack of the needed
  146. functionality for your device (it may not tune or may not have
  147. the needed demodulators).
  148. If unsure say Y.
  149. source "drivers/media/i2c/Kconfig"
  150. source "drivers/media/tuners/Kconfig"
  151. source "drivers/media/dvb-frontends/Kconfig"
  152. endif # MEDIA_SUPPORT