Kconfig 6.0 KB

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