aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJai Luthra <[email protected]>2023-10-17 13:07:24 +0530
committerHans Verkuil <[email protected]>2023-10-18 11:49:51 +0200
commit48016737a9af47328dd321df4dd3479ed5e2041d (patch)
tree95212b0702ab00d016004c4e529158de3811b4d7
parent99b6d9685c33ee38f9fea00e3ea9191da93133c9 (diff)
media: platform: cadence: select MIPI_DPHY dependency
The driver uses MIPI DPHY helper routines from the PHY core. Make sure we select the relevant config for compilation. Fixes: a91d06f46bf7 ("media: cadence: csi2rx: Configure DPHY using link freq") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Jai Luthra <[email protected]> [Sakari Ailus: Also select GENERIC_PHY.] Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
-rw-r--r--drivers/media/platform/cadence/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/cadence/Kconfig b/drivers/media/platform/cadence/Kconfig
index 480325d053de..1aa608c00dbc 100644
--- a/drivers/media/platform/cadence/Kconfig
+++ b/drivers/media/platform/cadence/Kconfig
@@ -8,6 +8,8 @@ config VIDEO_CADENCE_CSI2RX
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.