mirror of
https://github.com/torvalds/linux.git
synced 2026-10-16 04:39:02 +02:00
The VIP driver uses v4l2_fwnode_endpoint_parse() and the
v4l2_async_nf_*() notifier APIs, but its Kconfig entry does not
select V4L2_FWNODE. Hence kernel test robot reports:
vip.c:3236: undefined reference to `v4l2_async_nf_unregister'
vip.c:3237: undefined reference to `v4l2_async_nf_cleanup'
vip.c:3339: undefined reference to `v4l2_fwnode_endpoint_parse'
vip.c:3346: undefined reference to `v4l2_async_nf_init'
vip.c:3348: undefined reference to `__v4l2_async_nf_add_fwnode'
vip.c:3357: undefined reference to `v4l2_async_nf_register'
Select V4L2_FWNODE, which in turn selects V4L2_ASYNC, providing
all the missing symbols.
Fixes: fc2873aa4a ("media: ti: vpe: Add the VIP driver")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202607031826.vOPABT39-lkp@intel.com/
Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
98 lines
2.6 KiB
Plaintext
98 lines
2.6 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
comment "Texas Instruments drivers"
|
|
|
|
# TI VIDEO PORT Helper Modules
|
|
# These will be selected by VPE and VIP
|
|
config VIDEO_TI_VPDMA
|
|
tristate
|
|
|
|
config VIDEO_TI_SC
|
|
tristate
|
|
|
|
config VIDEO_TI_CSC
|
|
tristate
|
|
|
|
# V4L drivers
|
|
|
|
config VIDEO_TI_CAL
|
|
tristate "TI CAL (Camera Adaptation Layer) driver"
|
|
depends on VIDEO_DEV
|
|
depends on V4L_PLATFORM_DRIVERS
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_FWNODE
|
|
help
|
|
Support for the TI CAL (Camera Adaptation Layer) block
|
|
found on DRA72X SoC.
|
|
In TI Technical Reference Manual this module is referred as
|
|
Camera Interface Subsystem (CAMSS).
|
|
|
|
config VIDEO_TI_CAL_MC
|
|
bool "Media Controller centric mode by default"
|
|
depends on VIDEO_TI_CAL
|
|
default n
|
|
help
|
|
Enables Media Controller centric mode by default.
|
|
|
|
If set, CAL driver will start in Media Controller mode by
|
|
default. Note that this behavior can be overridden via
|
|
module parameter 'mc_api'.
|
|
|
|
config VIDEO_TI_VIP
|
|
tristate "TI Video Input Port"
|
|
depends on VIDEO_DEV
|
|
depends on SOC_DRA7XX || COMPILE_TEST
|
|
depends on HAS_DMA
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select VIDEO_TI_VPDMA
|
|
select VIDEO_TI_SC
|
|
select VIDEO_TI_CSC
|
|
select V4L2_FWNODE
|
|
help
|
|
Driver support for VIP module on certain TI SoC's
|
|
VIP = Video Input Port.
|
|
|
|
# Mem2mem drivers
|
|
|
|
config VIDEO_TI_VPE
|
|
tristate "TI VPE (Video Processing Engine) driver"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV
|
|
depends on SOC_DRA7XX || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
select VIDEO_TI_VPDMA
|
|
select VIDEO_TI_SC
|
|
select VIDEO_TI_CSC
|
|
help
|
|
Support for the TI VPE(Video Processing Engine) block
|
|
found on DRA7XX SoC.
|
|
|
|
config VIDEO_TI_VPE_DEBUG
|
|
bool "VPE debug messages"
|
|
depends on VIDEO_TI_VPE
|
|
help
|
|
Enable debug messages on VPE driver.
|
|
|
|
config VIDEO_TI_J721E_CSI2RX
|
|
tristate "TI J721E CSI2RX wrapper layer driver"
|
|
depends on VIDEO_DEV && VIDEO_V4L2_SUBDEV_API
|
|
depends on MEDIA_SUPPORT && MEDIA_CONTROLLER
|
|
depends on VIDEO_CADENCE_CSI2RX
|
|
depends on PHY_CADENCE_DPHY_RX || COMPILE_TEST
|
|
depends on ARCH_K3 || COMPILE_TEST
|
|
depends on PM
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_FWNODE
|
|
help
|
|
Support for TI CSI2RX wrapper layer. This just enables the wrapper driver.
|
|
The Cadence CSI2RX bridge driver needs to be enabled separately.
|
|
|
|
source "drivers/media/platform/ti/am437x/Kconfig"
|
|
source "drivers/media/platform/ti/davinci/Kconfig"
|
|
source "drivers/media/platform/ti/omap/Kconfig"
|
|
source "drivers/media/platform/ti/omap3isp/Kconfig"
|