LF-1089: media: imx: fix 1024x768@15 camera issue for imx8qm and qxp

For iMX8QM ov5640 camera, if resolution is 1024x768@15, the image
will have overlapping issue.
For iMX8QXP ov5640 camera, if resolution is 1024x768@15, camera APP
will hang, it means no data from driver.

Run command as bellow can reproduce the issue:
/unit_tests/V4L2/mx8_v4l2_cap_drm.out -cam 1 -ow 1024 -oh 768 -fr 15

Setting HS_SETTLE of CSI to 0x23 for 1024x768@15 can fix the issue

Reviewed-by: Robby Cai <robby.cai@nxp.com>
Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
This commit is contained in:
Guoniu.zhou 2020-03-11 10:18:53 +08:00
parent f158c242b8
commit 3a61dae9aa
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ static struct mxc_hs_info hs_setting[] = {
{1280, 720, 15, 0x16},
{1024, 768, 30, 0x11},
{1024, 768, 15, 0x16},
{1024, 768, 15, 0x23},
{720, 576, 30, 0x1E},
{720, 576, 15, 0x23},