media: i2c: imx258: Support faster pixel rate on binned modes
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 1 Apr 2022 17:56:54 +0000 (18:56 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:34 +0000 (11:33 +0000)
commit5503147360355b354f6073d40588a28f98bde519
tree4eaff6768f66dbc91583c1ff9c775ab1c01b3d28
parent99f481df10c07ba9a776fbf30f84cb8d873c0b78
media: i2c: imx258: Support faster pixel rate on binned modes

With the binned modes, there is little point in faithfully
reproducing the horizontal line length of 5352 pixels on the CSI2
bus, and the FIFO between the pixel array and MIPI serialiser
allows us to remove that dependency.

Allow the pixel array to run with the normal settings, with the MIPI
serialiser at half the rate. This requires some additional
information for the link frequency to pixel rate function that
needs to be added to the configuration tables.

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