mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 18:54:09 +08:00
media: Kconfig: add an option to filter in/out platform drivers
Most systems don't need support for those, while others only need those, instead of the others. So, add an option to filter in/out platform drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
d9d6e1f3d5
commit
06b93644f4
@ -87,6 +87,18 @@ config MEDIA_CEC_SUPPORT
|
|||||||
Say Y when you have an HDMI receiver, transmitter or a USB CEC
|
Say Y when you have an HDMI receiver, transmitter or a USB CEC
|
||||||
adapter that supports HDMI CEC.
|
adapter that supports HDMI CEC.
|
||||||
|
|
||||||
|
config MEDIA_PLATFORM_SUPPORT
|
||||||
|
bool "Platform-specific devices support"
|
||||||
|
help
|
||||||
|
Enable support for complex cameras, codecs, and other hardware
|
||||||
|
that are integrated at the CPU, GPU or on Image Signalling Processor
|
||||||
|
and don't use PCI, USB or Firewire buses.
|
||||||
|
|
||||||
|
This is found on Embedded hardware (SoC), on V4L2 codecs and
|
||||||
|
on some GPU and newer CPU chipsets.
|
||||||
|
|
||||||
|
Say Y when you want to be able so see such devices.
|
||||||
|
|
||||||
source "drivers/media/cec/Kconfig"
|
source "drivers/media/cec/Kconfig"
|
||||||
|
|
||||||
source "drivers/media/mc/Kconfig"
|
source "drivers/media/mc/Kconfig"
|
||||||
@ -161,15 +173,14 @@ source "drivers/media/dvb-core/Kconfig"
|
|||||||
|
|
||||||
comment "Media drivers"
|
comment "Media drivers"
|
||||||
|
|
||||||
#
|
|
||||||
# V4L platform/mem2mem drivers
|
|
||||||
#
|
|
||||||
|
|
||||||
source "drivers/media/usb/Kconfig"
|
source "drivers/media/usb/Kconfig"
|
||||||
source "drivers/media/pci/Kconfig"
|
source "drivers/media/pci/Kconfig"
|
||||||
|
source "drivers/media/radio/Kconfig"
|
||||||
|
|
||||||
|
if MEDIA_PLATFORM_SUPPORT
|
||||||
source "drivers/media/platform/Kconfig"
|
source "drivers/media/platform/Kconfig"
|
||||||
source "drivers/media/mmc/Kconfig"
|
source "drivers/media/mmc/Kconfig"
|
||||||
source "drivers/media/radio/Kconfig"
|
endif
|
||||||
|
|
||||||
comment "Supported FireWire (IEEE 1394) Adapters"
|
comment "Supported FireWire (IEEE 1394) Adapters"
|
||||||
depends on DVB_CORE && FIREWIRE
|
depends on DVB_CORE && FIREWIRE
|
||||||
|
Loading…
Reference in New Issue
Block a user