The current Kconfig symbol dependencies allow having the following Kconfig
symbol values
CONFIG_IPU_BRIDGE=m
CONFIG_VIDEO_IPU3_CIO2=y
CONFIG_CIO2_BRIDGE=n
This does not work as the IPU bridge API is conditional to
IS_ENABLED(CONFIG_IPU_BRIDGE). Fix this by changing the dependencies so
that CONFIG_IPU_BRIDGE can be separately selected.
The CONFIG_CIO2_BRIDGE symbol becomes redundant as a result and is
removed.
Fixes: 2545a2c02b
("media: ipu3-cio2: allow ipu_bridge to be a module again")
Suggested-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
20 lines
616 B
Text
20 lines
616 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
config VIDEO_IPU3_CIO2
|
|
tristate "Intel ipu3-cio2 driver"
|
|
depends on VIDEO_DEV && PCI
|
|
depends on IPU_BRIDGE || !IPU_BRIDGE
|
|
depends on ACPI || COMPILE_TEST
|
|
depends on X86
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select V4L2_FWNODE
|
|
select VIDEOBUF2_DMA_SG
|
|
|
|
help
|
|
This is the Intel IPU3 CIO2 CSI-2 receiver unit, found in Intel
|
|
Skylake and Kaby Lake SoCs and used for capturing images and
|
|
video from a camera sensor.
|
|
|
|
Say Y or M here if you have a Skylake/Kaby Lake SoC with MIPI CSI-2
|
|
connected camera.
|
|
The module will be called ipu3-cio2.
|