All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] media: nxp: Restrict VIDEO_IMX_MIPI_CSIS to ARCH_MXC or COMPILE_TEST
@ 2022-03-18 20:37 Laurent Pinchart
  2022-03-18 21:44 ` Rui Miguel Silva
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Laurent Pinchart @ 2022-03-18 20:37 UTC (permalink / raw)
  To: linux-media; +Cc: Jacopo Mondi, Rui Miguel Silva

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

The imx-mipi-csis driver is specific to NXP platforms. Restrict it to
those by default, and enable compilation with COMPILE_TEST to keep a
wide test coverage.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/media/platform/nxp/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/platform/nxp/Kconfig b/drivers/media/platform/nxp/Kconfig
index 7473096f5885..28f2bafc14d2 100644
--- a/drivers/media/platform/nxp/Kconfig
+++ b/drivers/media/platform/nxp/Kconfig
@@ -6,6 +6,7 @@ comment "NXP media platform drivers"
 
 config VIDEO_IMX_MIPI_CSIS
 	tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models"
+	depends on ARCH_MXC || COMPILE_TEST
 	select MEDIA_CONTROLLER
 	select V4L2_FWNODE
 	select VIDEO_V4L2_SUBDEV_API

base-commit: 71e6d0608e4d1b79069990c7dacb3600ced28a3b
-- 
Regards,

Laurent Pinchart


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

* Re: [PATCH] media: nxp: Restrict VIDEO_IMX_MIPI_CSIS to ARCH_MXC or COMPILE_TEST
  2022-03-18 20:37 [PATCH] media: nxp: Restrict VIDEO_IMX_MIPI_CSIS to ARCH_MXC or COMPILE_TEST Laurent Pinchart
@ 2022-03-18 21:44 ` Rui Miguel Silva
  2022-03-21 14:03 ` Kieran Bingham
  2022-03-23  9:29 ` paul.elder
  2 siblings, 0 replies; 4+ messages in thread
From: Rui Miguel Silva @ 2022-03-18 21:44 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: linux-media, Jacopo Mondi

Hi Laurent,
On Fri, Mar 18, 2022 at 10:37:35PM +0200, Laurent Pinchart wrote:
> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> 
> The imx-mipi-csis driver is specific to NXP platforms. Restrict it to
> those by default, and enable compilation with COMPILE_TEST to keep a
> wide test coverage.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Thanks, LGTM.

Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>

Cheers,
     Rui
> ---
>  drivers/media/platform/nxp/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/platform/nxp/Kconfig b/drivers/media/platform/nxp/Kconfig
> index 7473096f5885..28f2bafc14d2 100644
> --- a/drivers/media/platform/nxp/Kconfig
> +++ b/drivers/media/platform/nxp/Kconfig
> @@ -6,6 +6,7 @@ comment "NXP media platform drivers"
>  
>  config VIDEO_IMX_MIPI_CSIS
>  	tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models"
> +	depends on ARCH_MXC || COMPILE_TEST
>  	select MEDIA_CONTROLLER
>  	select V4L2_FWNODE
>  	select VIDEO_V4L2_SUBDEV_API
> 
> base-commit: 71e6d0608e4d1b79069990c7dacb3600ced28a3b
> -- 
> Regards,
> 
> Laurent Pinchart
> 

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

* Re: [PATCH] media: nxp: Restrict VIDEO_IMX_MIPI_CSIS to ARCH_MXC or COMPILE_TEST
  2022-03-18 20:37 [PATCH] media: nxp: Restrict VIDEO_IMX_MIPI_CSIS to ARCH_MXC or COMPILE_TEST Laurent Pinchart
  2022-03-18 21:44 ` Rui Miguel Silva
@ 2022-03-21 14:03 ` Kieran Bingham
  2022-03-23  9:29 ` paul.elder
  2 siblings, 0 replies; 4+ messages in thread
From: Kieran Bingham @ 2022-03-21 14:03 UTC (permalink / raw)
  To: Laurent Pinchart, linux-media; +Cc: Jacopo Mondi, Rui Miguel Silva

Quoting Laurent Pinchart (2022-03-18 20:37:35)
> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> 
> The imx-mipi-csis driver is specific to NXP platforms. Restrict it to
> those by default, and enable compilation with COMPILE_TEST to keep a
> wide test coverage.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

> ---
>  drivers/media/platform/nxp/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/platform/nxp/Kconfig b/drivers/media/platform/nxp/Kconfig
> index 7473096f5885..28f2bafc14d2 100644
> --- a/drivers/media/platform/nxp/Kconfig
> +++ b/drivers/media/platform/nxp/Kconfig
> @@ -6,6 +6,7 @@ comment "NXP media platform drivers"
>  
>  config VIDEO_IMX_MIPI_CSIS
>         tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models"
> +       depends on ARCH_MXC || COMPILE_TEST
>         select MEDIA_CONTROLLER
>         select V4L2_FWNODE
>         select VIDEO_V4L2_SUBDEV_API
> 
> base-commit: 71e6d0608e4d1b79069990c7dacb3600ced28a3b
> -- 
> Regards,
> 
> Laurent Pinchart
>

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

* Re: [PATCH] media: nxp: Restrict VIDEO_IMX_MIPI_CSIS to ARCH_MXC or COMPILE_TEST
  2022-03-18 20:37 [PATCH] media: nxp: Restrict VIDEO_IMX_MIPI_CSIS to ARCH_MXC or COMPILE_TEST Laurent Pinchart
  2022-03-18 21:44 ` Rui Miguel Silva
  2022-03-21 14:03 ` Kieran Bingham
@ 2022-03-23  9:29 ` paul.elder
  2 siblings, 0 replies; 4+ messages in thread
From: paul.elder @ 2022-03-23  9:29 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: linux-media, Jacopo Mondi, Rui Miguel Silva

Hi Laurent,

On Fri, Mar 18, 2022 at 10:37:35PM +0200, Laurent Pinchart wrote:
> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> 
> The imx-mipi-csis driver is specific to NXP platforms. Restrict it to
> those by default, and enable compilation with COMPILE_TEST to keep a
> wide test coverage.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>

> ---
>  drivers/media/platform/nxp/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/platform/nxp/Kconfig b/drivers/media/platform/nxp/Kconfig
> index 7473096f5885..28f2bafc14d2 100644
> --- a/drivers/media/platform/nxp/Kconfig
> +++ b/drivers/media/platform/nxp/Kconfig
> @@ -6,6 +6,7 @@ comment "NXP media platform drivers"
>  
>  config VIDEO_IMX_MIPI_CSIS
>  	tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models"
> +	depends on ARCH_MXC || COMPILE_TEST
>  	select MEDIA_CONTROLLER
>  	select V4L2_FWNODE
>  	select VIDEO_V4L2_SUBDEV_API
> 
> base-commit: 71e6d0608e4d1b79069990c7dacb3600ced28a3b
> -- 
> Regards,
> 
> Laurent Pinchart
> 

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

end of thread, other threads:[~2022-03-23  9:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-18 20:37 [PATCH] media: nxp: Restrict VIDEO_IMX_MIPI_CSIS to ARCH_MXC or COMPILE_TEST Laurent Pinchart
2022-03-18 21:44 ` Rui Miguel Silva
2022-03-21 14:03 ` Kieran Bingham
2022-03-23  9:29 ` paul.elder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.