[PATCH v5 6/8] media: nxp: add V4L2 subdev driver for camera parallel interface (CPI)
guoniu.zhou at oss.nxp.com
guoniu.zhou at oss.nxp.com
Mon Jun 22 02:01:14 PDT 2026
On Wed, 17 Jun 2026 15:50:16 -0400, Frank.Li at oss.nxp.com <Frank.Li at oss.nxp.com> wrote:
> diff --git a/drivers/media/platform/nxp/imx-parallel-cpi.c b/drivers/media/platform/nxp/imx-parallel-cpi.c
> new file mode 100644
> index 000000000000..00f5d5f47644
> --- /dev/null
> +++ b/drivers/media/platform/nxp/imx-parallel-cpi.c
> @@ -0,0 +1,614 @@
> [ ... skip 245 lines ... ]
> + }
> +
> + val = CPI_CTRL_REG1_PIXEL_WIDTH(pixel_width) |
> + CPI_CTRL_REG1_VSYNC_PULSE(vsync_pulse);
> + writel(val, pcpidev->regs + pdata->interface_ctrl_reg1);
> +}
The switch statement result is overwritten.
--
Guoniu Zhou <guoniu.zhou at oss.nxp.com>
More information about the linux-arm-kernel
mailing list