Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) # Multimedia device configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) # NOTE: CEC and Remote Controller support should not depend on MEDIA_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) source "drivers/media/rc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) source "drivers/media/cec/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) menuconfig MEDIA_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) 	tristate "Multimedia support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) 	depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 	  If you want to use media devices, including Webcams, Video grabber
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 	  devices and/or TV devices, V4L2 codecs, etc, enable this option
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 	  and other options below.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 	  Additional info and docs are available on the web at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 	  <https://linuxtv.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) if MEDIA_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) config MEDIA_SUPPORT_FILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 	bool "Filter media drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 	depends on MEDIA_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 	default y if !EMBEDDED && !EXPERT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 	   Configuring the media subsystem can be complex, as there are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 	   hundreds of drivers and other config options.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 	   This menu offers option that will help the Kernel's config
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 	   system to hide drivers that are out of the scope of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 	   user needs, and disabling core support for unused APIs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 	   If not selected, all non-optional media core functionality
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 	   needed to support media drivers will be enabled. Also, all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 	   media device drivers should be shown.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) config MEDIA_SUBDRV_AUTOSELECT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 	bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 	depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 	select I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 	select I2C_MUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 	default y if MEDIA_SUPPORT_FILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 	  By default, a media driver auto-selects all possible ancillary
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 	  devices such as tuners, sensors, video encoders/decoders and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 	  frontends, that are used by any of the supported devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) 	  This is generally the right thing to do, except when there
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 	  are strict constraints with regards to the kernel size,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 	  like on embedded systems.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 	  Use this option with care, as deselecting ancillary drivers which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 	  are, in fact, necessary will result in the lack of the needed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 	  functionality for your device (it may not tune or may not have
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 	  the needed demodulators).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 	  If unsure say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) menu "Media device types"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) # Multimedia support - automatically enable V4L2 and DVB core
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) config MEDIA_CAMERA_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 	bool "Cameras and video grabbers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) 	default y if !MEDIA_SUPPORT_FILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 	  Enable support for webcams and video grabbers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 	  Say Y when you have a webcam or a video capture grabber board.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) config MEDIA_ANALOG_TV_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 	bool "Analog TV"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 	default y if !MEDIA_SUPPORT_FILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 	  Enable analog TV support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 	  Say Y when you have a TV board with analog support or with a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 	  hybrid analog/digital TV chipset.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 	  Note: There are several DVB cards that are based on chips that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 		support both analog and digital TV. Disabling this option
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 		will disable support for them.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) config MEDIA_DIGITAL_TV_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 	tristate "Digital TV"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 	default y if !MEDIA_SUPPORT_FILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 	  Enable digital TV support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 	  Say Y when you have a board with digital support or a board with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 	  hybrid digital TV and analog TV.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) config MEDIA_RADIO_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 	bool "AM/FM radio receivers/transmitters"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 	default y if !MEDIA_SUPPORT_FILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 	  Enable AM/FM radio support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 	  Additional info and docs are available on the web at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 	  <https://linuxtv.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 	  Say Y when you have a board with radio support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 	  Note: There are several TV cards that are based on chips that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 		support radio reception. Disabling this option will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 		disable support for them.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) config MEDIA_SDR_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 	bool "Software defined radio"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 	default y if !MEDIA_SUPPORT_FILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 	  Enable software defined radio support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 	  Say Y when you have a software defined radio device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) config MEDIA_PLATFORM_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 	bool "Platform-specific devices"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 	default y if !MEDIA_SUPPORT_FILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 	  Enable support for complex cameras, codecs, and other hardware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 	  that are integrated at the CPU, GPU or on Image Signalling Processor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 	  and don't use PCI, USB or Firewire buses.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 	  This is found on Embedded hardware (SoC), on V4L2 codecs and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 	  on some GPU and newer CPU chipsets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) 	  Say Y when you want to be able so see such devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) config MEDIA_TEST_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 	bool "Test drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 	default y if !MEDIA_SUPPORT_FILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 	  These drivers should not be used on production kernels, but
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 	  can be useful on debug ones. This option enables several dummy drivers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 	  that simulate real hardware. Very useful to test userspace
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 	  applications and to validate if the subsystem core doesn't
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) 	  have regressions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) 	  Say Y if you want to use some virtual test driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 	  In case of doubts, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 	  Say Y when you have a software defined radio device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) endmenu # media device types
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) menu "Media core support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 	visible if !MEDIA_SUPPORT_FILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) config VIDEO_DEV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 	tristate "Video4Linux core"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) 	default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || MEDIA_PLATFORM_SUPPORT || MEDIA_TEST_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) 	  Enables the V4L2 API, used by cameras, analog TV, video grabbers,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) 	  radio devices and by some input devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) config MEDIA_CONTROLLER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) 	bool "Media Controller API"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 	default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_PLATFORM_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) 	  Enable the media controller API used to query media devices internal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) 	  topology and configure it dynamically.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) 	  This API is mostly used by camera interfaces in embedded platforms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) # DVB Core
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) #	Only enables if one of DTV is selected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) config DVB_CORE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) 	tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 	depends on MEDIA_DIGITAL_TV_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 	depends on (I2C || I2C=n)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 	default MEDIA_DIGITAL_TV_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) 	select CRC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) 	  Enables the DVB API, used by Digital TV devices. Supports several
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) 	  standards, including DVB, ATSC, ISDB and CMDB.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) endmenu # Media core support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) # Extra per-media API core functionality
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) menu "Video4Linux options"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 	visible if VIDEO_DEV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) source "drivers/media/v4l2-core/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) menu "Media controller options"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) 	visible if MEDIA_CONTROLLER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) source "drivers/media/mc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) menu "Digital TV options"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) 	visible if DVB_CORE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) source "drivers/media/dvb-core/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) menu "Media drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) comment "Drivers filtered as selected at 'Filter media drivers'"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) 	depends on MEDIA_SUPPORT_FILTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) source "drivers/media/usb/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) source "drivers/media/pci/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) source "drivers/media/radio/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) # Common driver options
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) source "drivers/media/common/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) if MEDIA_PLATFORM_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) source "drivers/media/platform/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) source "drivers/media/mmc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) if MEDIA_TEST_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) source "drivers/media/test-drivers/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) source "drivers/media/firewire/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) # Ancillary drivers (tuners, i2c, spi, frontends)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) config MEDIA_HIDE_ANCILLARY_SUBDRV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) 	depends on MEDIA_SUBDRV_AUTOSELECT && !COMPILE_TEST && !EXPERT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) 	default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) menu "Media ancillary drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) config MEDIA_ATTACH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) 	depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) 	depends on MODULES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) 	default MODULES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) source "drivers/media/i2c/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) source "drivers/media/spi/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) source "drivers/media/tuners/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) source "drivers/media/dvb-frontends/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) endif # MEDIA_SUPPORT