summaryrefslogtreecommitdiff
path: root/scripts/livepatch/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJai Luthra <jai.luthra@ideasonboard.com>2025-10-30 14:13:00 +0530
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-11-13 10:57:52 +0100
commit8a2451bd20e6f815e46adcc0f21be8124f16289c (patch)
treeab351c49b72e1a8385617a48d770d865ef1311c7 /scripts/livepatch/git@git.tavy.me:linux.git
parentdf3ef05b51e02ef9386346288c1e63f366372f5b (diff)
media: imx335: Support 2x2 binning
Introduce 2x2 binning mode (1312x972@60fps). Since there are multiple modes now, use v4l2_find_nearest_size() to select the appropriate mode in .set_fmt(). For 2x2 binning the minimum shutter value supported is 17 instead of 9. This effects the maximum allowed exposure time, and if not enforced then the sensor produces very dark frames when the minimum shutter limit is violated. Lastly, update the crop size reported to the userspace. When trying 2x2 binning with the datasheet suggested pixel array size (i.e. 2592 / 2 => 1296), on some platforms (Raspberry Pi 5) artefacts are introduced on the right edge of the output image. Instead, using a higher width of 1312 works fine on all platforms. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/livepatch/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions