diff mbox series

[2/2] arm64: defconfig: Enable video capture drivers on imx8mm/imx8mn

Message ID 20230423212656.1381002-2-aford173@gmail.com
State Accepted
Commit ad775ac13d01513f8a35235e5b2304623549ee7c
Headers show
Series [1/2] arm64: dts: imx8mn: Enable CSI and ISI Nodes | expand

Commit Message

Adam Ford April 23, 2023, 9:26 p.m. UTC
The imx8m Mini and imx8m Nano both use the same CSIS driver for
interfacing with sensors and cameras.  The Mini routes the CSIS
output to the imx7-CSI driver, and the Nano routes the CSIS
through the imx8-isi driver like the one used on the imx8mp.

Enable the drivers necessary to facilitate capture on both of
these two platforms.

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Laurent Pinchart April 24, 2023, 12:48 a.m. UTC | #1
Hi Adam,

Thank you for the patch.

On Sun, Apr 23, 2023 at 04:26:56PM -0500, Adam Ford wrote:
> The imx8m Mini and imx8m Nano both use the same CSIS driver for
> interfacing with sensors and cameras.  The Mini routes the CSIS
> output to the imx7-CSI driver, and the Nano routes the CSIS
> through the imx8-isi driver like the one used on the imx8mp.
> 
> Enable the drivers necessary to facilitate capture on both of
> these two platforms.
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index a24609e14d50..7005640fbb8e 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -743,6 +743,10 @@ CONFIG_SDR_PLATFORM_DRIVERS=y
>  CONFIG_V4L_MEM2MEM_DRIVERS=y
>  CONFIG_VIDEO_MEDIATEK_JPEG=m
>  CONFIG_VIDEO_MEDIATEK_VCODEC=m
> +CONFIG_VIDEO_IMX7_CSI=m
> +CONFIG_VIDEO_IMX_MIPI_CSIS=m
> +CONFIG_VIDEO_IMX8_ISI=m
> +CONFIG_VIDEO_IMX8_ISI_M2M=y
>  CONFIG_VIDEO_QCOM_CAMSS=m
>  CONFIG_VIDEO_QCOM_VENUS=m
>  CONFIG_VIDEO_RCAR_ISP=m
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index a24609e14d50..7005640fbb8e 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -743,6 +743,10 @@  CONFIG_SDR_PLATFORM_DRIVERS=y
 CONFIG_V4L_MEM2MEM_DRIVERS=y
 CONFIG_VIDEO_MEDIATEK_JPEG=m
 CONFIG_VIDEO_MEDIATEK_VCODEC=m
+CONFIG_VIDEO_IMX7_CSI=m
+CONFIG_VIDEO_IMX_MIPI_CSIS=m
+CONFIG_VIDEO_IMX8_ISI=m
+CONFIG_VIDEO_IMX8_ISI_M2M=y
 CONFIG_VIDEO_QCOM_CAMSS=m
 CONFIG_VIDEO_QCOM_VENUS=m
 CONFIG_VIDEO_RCAR_ISP=m