mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 01:28:04 +00:00

The driver uses MIPI DPHY helper routines from the PHY core. Make sure
we select the relevant config for compilation.
Fixes: a91d06f46b
("media: cadence: csi2rx: Configure DPHY using link freq")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310170258.UzSN4RUB-lkp@intel.com/
Signed-off-by: Jai Luthra <j-luthra@ti.com>
[Sakari Ailus: Also select GENERIC_PHY.]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
30 lines
797 B
Plaintext
30 lines
797 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
comment "Cadence media platform drivers"
|
|
|
|
config VIDEO_CADENCE_CSI2RX
|
|
tristate "Cadence MIPI-CSI2 RX Controller"
|
|
depends on VIDEO_DEV
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select V4L2_FWNODE
|
|
select GENERIC_PHY
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
help
|
|
Support for the Cadence MIPI CSI2 Receiver controller.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called cdns-csi2rx.
|
|
|
|
config VIDEO_CADENCE_CSI2TX
|
|
tristate "Cadence MIPI-CSI2 TX Controller"
|
|
depends on VIDEO_DEV
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select V4L2_FWNODE
|
|
help
|
|
Support for the Cadence MIPI CSI2 Transceiver controller.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called cdns-csi2tx.
|