mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] media: platform: cadence: select MIPI_DPHY dependency
@ 2023-10-17  7:37 Jai Luthra
  2023-10-17  7:57 ` Sakari Ailus
  0 siblings, 1 reply; 2+ messages in thread
From: Jai Luthra @ 2023-10-17  7:37 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Sakari Ailus, Hans Verkuil,
	Tomi Valkeinen, Maxime Ripard
  Cc: Laurent Pinchart, linux-media, linux-kernel, kernel test robot,
	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")
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>
---
 drivers/media/platform/cadence/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/platform/cadence/Kconfig b/drivers/media/platform/cadence/Kconfig
index 480325d053de..317bd9e2e728 100644
--- a/drivers/media/platform/cadence/Kconfig
+++ b/drivers/media/platform/cadence/Kconfig
@@ -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,
-- 
Jai Luthra <j-luthra@ti.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] media: platform: cadence: select MIPI_DPHY dependency
  2023-10-17  7:37 [PATCH] media: platform: cadence: select MIPI_DPHY dependency Jai Luthra
@ 2023-10-17  7:57 ` Sakari Ailus
  0 siblings, 0 replies; 2+ messages in thread
From: Sakari Ailus @ 2023-10-17  7:57 UTC (permalink / raw)
  To: Jai Luthra
  Cc: Mauro Carvalho Chehab, Hans Verkuil, Tomi Valkeinen,
	Maxime Ripard, Laurent Pinchart, linux-media, linux-kernel,
	kernel test robot

Hi Jai,

Thanks for the patch.

On Tue, Oct 17, 2023 at 01:07:24PM +0530, Jai Luthra wrote:
> 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 <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>
> ---
>  drivers/media/platform/cadence/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/platform/cadence/Kconfig b/drivers/media/platform/cadence/Kconfig
> index 480325d053de..317bd9e2e728 100644
> --- a/drivers/media/platform/cadence/Kconfig
> +++ b/drivers/media/platform/cadence/Kconfig
> @@ -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.

>  	help
>  	  Support for the Cadence MIPI CSI2 Receiver controller.
>  
> 

-- 
Regards,

Sakari Ailus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-17  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-17  7:37 [PATCH] media: platform: cadence: select MIPI_DPHY dependency Jai Luthra
2023-10-17  7:57 ` Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®