media: ov5640: Add VBLANK control
authorJacopo Mondi <jacopo@jmondi.org>
Fri, 13 May 2022 14:14:04 +0000 (15:14 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 14:26:54 +0000 (15:26 +0100)
commitbce93b827de641d7d2e000c9b9d4d30298aa42b6
tree40a86b85ce5c3724ba57ba3f9ddd3cd560c1d5f3
parent32979f670090e67874b087159d4e38b426adb3ef
media: ov5640: Add VBLANK control

Add the VBLANK control which allows to select the duration of the
frame vertical blankings and allows to control the framerate.

The VBLANK control also modifies the exposure time range, which cannot
exceed the maximum frame length.

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