media: ov5640: Change CSI-2 timings to comply with FPS
authorJacopo Mondi <jacopo@jmondi.org>
Fri, 13 May 2022 14:14:07 +0000 (15:14 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 14:31:34 +0000 (15:31 +0100)
commit961bed9f6af54fbfd8242b363b299c4de43b9749
treec8f6358bee9b19baf56b9a5c9a1d83cb3edc730c
parentb6ae502297610d5fbfa13158acd92145393f9838
media: ov5640: Change CSI-2 timings to comply with FPS

Now that the frame duration can be controlled by tuning the VBLANK
duration in CSI-2 mode, fix all modes definitions to comply with the
reported FPS.

All modes run at 30 FPS except for full-resolution mode 2592x1944
which runs at 15FPS.

Tested on a 2 data lanes setup in UYVY and RGB565 modes in CSI-2 mode.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov5640.c