Kconfig 6.4 KB

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