media: i2c: imx290: Add support for V4L2_CID_VBLANK
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 11 Jun 2020 17:09:12 +0000 (18:09 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:34:17 +0000 (16:34 +0100)
commit27218373e22ea62a63b65b7c7b3a62f04dbdddda
tree26bd85634cf3558f762ef343cf63e695e15fec03
parentab1dce2a30e7bf4cc9b8e2956b3ba83d4dd0b3aa
media: i2c: imx290: Add support for V4L2_CID_VBLANK

In order to calculate framerate and durations userspace needs
the vertical blanking information. This can be configurable,
and indeed the datasheet lists different values for VBLANK for
the 1080p and 720p modes.

Add the new control, and adopt the datasheet values for each mode.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/i2c/imx290.c