Commit f5139971 authored by Jai Luthra's avatar Jai Luthra Committed by Hans Verkuil
Browse files

media: i2c: imx219: Scale the pixel rate for analog binning

When the analog binning mode is used for high framerate operation, the
pixel rate is effectively doubled. Account for this when setting up the
pixel clock rate, and applying the vblank and exposure controls.

The previous logic only used analog binning for RAW8, but normal binning
limits the framerate on RAW10 480p [1]. So with this patch we switch to
using special binning (with 2x pixel rate) wherever possible.

[1]: https://github.com/raspberrypi/linux/issues/5493



Co-developed-by: default avatarNaushir Patuck <naush@raspberrypi.com>
Signed-off-by: default avatarNaushir Patuck <naush@raspberrypi.com>
Co-developed-by: default avatarVinay Varma <varmavinaym@gmail.com>
Signed-off-by: default avatarVinay Varma <varmavinaym@gmail.com>
Signed-off-by: default avatarJai Luthra <jai.luthra@ideasonboard.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
parent 79199bfd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment