@joanxie
The IMX8MPRM ISI about P5267 says:
"• Input source will be converted to and processed by the processing pipeline
as YUV444 or RGB."
So what Input source are supported? Does the camera sensor input over MIPI have to be certain formats?
I saw the CAPTURE driver queries Sensor driver and convert the format by the following code:
/*
* Pixel link input format
*/
struct mxc_isi_fmt mxc_isi_src_formats[] = {
{
.name = "RGB32",
.fourcc = V4L2_PIX_FMT_RGB32,
.depth = { 32 },
.memplanes = 1,
.colplanes = 1,
}, {
.name = "YUV32 (X-Y-U-V)",
.fourcc = V4L2_PIX_FMT_YUV32,
.depth = { 32 },
.memplanes = 1,
.colplanes = 1,
}
};
struct mxc_isi_fmt *mxc_isi_get_src_fmt(struct v4l2_subdev_format *sd_fmt)
{
u32 index;
/* two fmt RGB32 and YUV444 from pixellink */
if (sd_fmt->format.code == MEDIA_BUS_FMT_YUYV8_1X16 ||
sd_fmt->format.code == MEDIA_BUS_FMT_YVYU8_2X8 ||
sd_fmt->format.code == MEDIA_BUS_FMT_AYUV8_1X32 ||
sd_fmt->format.code == MEDIA_BUS_FMT_UYVY8_2X8 ||
sd_fmt->format.code == MEDIA_BUS_FMT_YUYV8_2X8)
index = 1;
else
index = 0;
return &mxc_isi_src_formats[index];
}
But our AR0234 uses MEDIA_BUS_FMT_SBGGR8_1X8, the output image is duplicated and half height as the attached picture. And the width and height were set correctly in the register, Any suggestion?
We can provide more information and trace upon request.

Thanks,
Tony