]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: i2c: imx219: Only use higher LLP_MIN for binned resolutions
authorJai Luthra <jai.luthra@ideasonboard.com>
Fri, 21 Feb 2025 10:52:15 +0000 (16:22 +0530)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 4 Mar 2025 12:35:32 +0000 (13:35 +0100)
commit5de9a5165fa71ef5e8bcbb35fdd97466d72dee6d
tree15561bc0ddb158c5fac5b1c5c6368b719394a7ca
parent07444c60ff31b594a09621d0753761f09d73bf07
media: i2c: imx219: Only use higher LLP_MIN for binned resolutions

The LLP_MIN of 3560 is only needed to fix artefacts seen with binned
resolutions. As increasing the LLP reduces the highest possible
framerate by ~3%, use the old default minimum of 3448 if we are not
doing 2x2 analog binning.

Also restore the fll_def value for non-binned modes in the modes
definition to restore the default mode framerate to 30fps.

Suggested-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://lore.kernel.org/linux-media/CAPY8ntC1-S6zKtDvmc6EgyxP+j6rTShuG8Dr8PKb9XQr2PeS_w@mail.gmail.com/
Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/imx219.c