media: mt9m111: add support to select formats and fps for {Q,SXGA}
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Tue, 27 Nov 2018 10:02:50 +0000 (05:02 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 5 Dec 2018 11:39:36 +0000 (06:39 -0500)
commit937bb42578c1a365f87557b6248264684b650f31
treed7c1efa1cdfdab77e95e0981fabc357f4f2fe600
parent3c437901bd83d236e4349d93bf5d3d814b8f6357
media: mt9m111: add support to select formats and fps for {Q,SXGA}

This patch implements the framerate selection using the skipping and
readout power-modi features. The power-modi cut the framerate by half
and each context has an independent selection bit. The same applies to
the 2x skipping feature.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/mt9m111.c