Kconfig 6.3 KB

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