Skip to contentSkip to conversation

media: platform: cadence: select MIPI_DPHY dependency

PATCH In review Jai Luthra 2 participants 2 messages Oct 17, 2023 Media (V4L/DVB)

lore
Share & tools
lore

Jai Luthra

author
#0 lore raw

PATCH 1/1 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")
---
 drivers/media/platform/cadence/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/media/platform/cadence/Kconfig +1 -0
index 480325d053de..317bd9e2e728 100644
@@ -8,6 +8,7 @@ config VIDEO_CADENCE_CSI2RX
 	select MEDIA_CONTROLLER
 	select VIDEO_V4L2_SUBDEV_API
 	select V4L2_FWNODE
+	select GENERIC_PHY_MIPI_DPHY
 	help
 	  Support for the Cadence MIPI CSI2 Receiver controller.
 

---
base-commit: 94e27fbeca27d8c772fc2bc807730aaee5886055
change-id: 20231017-cdns_phy_config-a9f8aaa02f5b

Best regards,

Signature · 1 line
Jai Luthra <[email protected]>
#1 lore raw

Hi Jai,

Thanks for the patch.

Quoted 16 lines · Jai Luthra

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")
---
 drivers/media/platform/cadence/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/media/platform/cadence/Kconfig +0 -0
index 480325d053de..317bd9e2e728 100644

drivers/media/platform/cadence/Kconfig config VIDEO_CADENCE_CSI2RX · line 11

Quoted 4 lines
drivers/media/platform/cadence/Kconfig +1 -0
@@ -8,6 +8,7 @@ config VIDEO_CADENCE_CSI2RX
 	select MEDIA_CONTROLLER
 	select VIDEO_V4L2_SUBDEV_API
 	select V4L2_FWNODE
+	select GENERIC_PHY_MIPI_DPHY

Selecting GENERIC_PHY_MIPI_DPHY isn't enough as it depends on GENERIC_PHY. I'll add the missing select line while applying this.

Quoted 4 lines
drivers/media/platform/cadence/Kconfig +0 -0
 	help
 	  Support for the Cadence MIPI CSI2 Receiver controller.
 
Signature · 3 lines
Regards,

Sakari Ailus