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, 19 Feb 2024 11:33:40 +0000 (11:33 +0000)
commitac5ea890ef399f376a7ca6edaa18b86b70885ac3
treef30157eade74f7182b0c4f6d56a1d1807dcea13d
parent8d69ee4250872219d6543dba2914f0feaafc9a75
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