OSDN Git Service

media: i2c: ov9282: Reduce vblank_min values based on testing
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 28 Oct 2022 16:08:53 +0000 (17:08 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 06:52:10 +0000 (06:52 +0000)
The configured vblank_min setting of 151 (meaning VTS of
720 + 151 = 871) is far higher than the setting that works on
the sensor, and there are no obvious restrictions stated in the
datasheet.

Reduce the vblank_min to allow for faster frame rates.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov9282.c

index 7e0b12b..35bc2b0 100644 (file)
@@ -262,7 +262,7 @@ static const struct ov9282_mode supported_modes[] = {
                .height = 720,
                .hblank = 250,
                .vblank = 1022,
-               .vblank_min = 151,
+               .vblank_min = 41,
                .vblank_max = 51540,
                .link_freq_idx = 0,
                .reg_list = {