mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 02:19:54 +00:00
media: i2c: imx296: Adjust cropping limits
Through emperical testing, the sensor can crop upto a 96x88 window to produce a valid Bayer frame. Adjust the ROIWH1_MIN ROIWV1_MIN appropriately for this limit. Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
This commit is contained in:
@@ -154,9 +154,9 @@ MODULE_PARM_DESC(trigger_mode, "Set trigger mode: 0=default, 1=XTRIG");
|
||||
#define IMX296_FID0_ROIPH1 IMX296_REG_16BIT(0x3310)
|
||||
#define IMX296_FID0_ROIPV1 IMX296_REG_16BIT(0x3312)
|
||||
#define IMX296_FID0_ROIWH1 IMX296_REG_16BIT(0x3314)
|
||||
#define IMX296_FID0_ROIWH1_MIN 80
|
||||
#define IMX296_FID0_ROIWH1_MIN 96
|
||||
#define IMX296_FID0_ROIWV1 IMX296_REG_16BIT(0x3316)
|
||||
#define IMX296_FID0_ROIWV1_MIN 4
|
||||
#define IMX296_FID0_ROIWV1_MIN 88
|
||||
|
||||
#define IMX296_CM_HSST_STARTTMG IMX296_REG_16BIT(0x4018)
|
||||
#define IMX296_CM_HSST_ENDTMG IMX296_REG_16BIT(0x401a)
|
||||
|
||||
Reference in New Issue
Block a user