media: i2c: imx219: Scale the pixel clock rate for the 640x480 mode
authorNaushir Patuck <naush@raspberrypi.com>
Tue, 8 Feb 2022 13:49:11 +0000 (13:49 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:42 +0000 (16:04 +0000)
commit1ae775b5d82035f25291184796b74ecc6895728a
tree4251cf9e038a0b183716783b6dacace45c67c703
parentd02b825ad84ed69dffa1c0078c1351acddb9d0d3
media: i2c: imx219: Scale the pixel clock rate for the 640x480 mode

The 640x480 mode uses a special binning mode for high framerate operation where
the pixel rate is effectively doubled. Account for this when setting up the
pixel clock rate, and applying the vblank and exposure controls.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
drivers/media/i2c/imx219.c