diff mbox series

[02/55] media: rkisp1: Enable compilation on ARCH_MXC

Message ID 20220614191127.3420492-3-paul.elder@ideasonboard.com (mailing list archive)
State Superseded
Headers show
Series media: rkisp1: Cleanups and add support for i.MX8MP | expand

Commit Message

Paul Elder June 14, 2022, 7:10 p.m. UTC
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

The ISP used by the Rockchip RK3399 is also found in the NXP i.MX8MP.
Enable compilation of the driver for the MXC architecture in addition to
ARCH_ROCKCHIP.

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

Comments

Dafna Hirschfeld June 24, 2022, 2:17 p.m. UTC | #1
On 15.06.2022 04:10, Paul Elder wrote:
>From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>
>The ISP used by the Rockchip RK3399 is also found in the NXP i.MX8MP.
>Enable compilation of the driver for the MXC architecture in addition to
>ARCH_ROCKCHIP.
>
>Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>---
> drivers/media/platform/rockchip/rkisp1/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/media/platform/rockchip/rkisp1/Kconfig b/drivers/media/platform/rockchip/rkisp1/Kconfig
>index dabd7e42c193..731c9acbf6ef 100644
>--- a/drivers/media/platform/rockchip/rkisp1/Kconfig
>+++ b/drivers/media/platform/rockchip/rkisp1/Kconfig
>@@ -3,7 +3,7 @@ config VIDEO_ROCKCHIP_ISP1
> 	tristate "Rockchip Image Signal Processing v1 Unit driver"
> 	depends on V4L_PLATFORM_DRIVERS
> 	depends on VIDEO_DEV && OF
>-	depends on ARCH_ROCKCHIP || COMPILE_TEST
>+	depends on ARCH_ROCKCHIP || ARCH_MXC || COMPILE_TEST

Reviewed-by: Dafna Hirschfeld <dafna@fastmail.com>

> 	select MEDIA_CONTROLLER
> 	select VIDEO_V4L2_SUBDEV_API
> 	select VIDEOBUF2_DMA_CONTIG
>-- 
>2.30.2
>
diff mbox series

Patch

diff --git a/drivers/media/platform/rockchip/rkisp1/Kconfig b/drivers/media/platform/rockchip/rkisp1/Kconfig
index dabd7e42c193..731c9acbf6ef 100644
--- a/drivers/media/platform/rockchip/rkisp1/Kconfig
+++ b/drivers/media/platform/rockchip/rkisp1/Kconfig
@@ -3,7 +3,7 @@  config VIDEO_ROCKCHIP_ISP1
 	tristate "Rockchip Image Signal Processing v1 Unit driver"
 	depends on V4L_PLATFORM_DRIVERS
 	depends on VIDEO_DEV && OF
-	depends on ARCH_ROCKCHIP || COMPILE_TEST
+	depends on ARCH_ROCKCHIP || ARCH_MXC || COMPILE_TEST
 	select MEDIA_CONTROLLER
 	select VIDEO_V4L2_SUBDEV_API
 	select VIDEOBUF2_DMA_CONTIG