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)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 8 Apr 2022 13:40:20 +0000 (14:40 +0100)
commit3edcbd7821d1e0044a307b7c4545bc36ca67373a
tree4bfd2a9d692c33f5cbcf3b93fb8cdb0f9c4543fd
parentbfeb930e334f7a87c9722e3efcf60a2c79cf69b1
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