Skip to content

Commit 999f4a1

Browse files
davidplowmanpelwell
authored andcommitted
media: i2c: imx477: Correct minimum exposure lines
The minimum number of exposure lines value (IMX477_EXPOSURE_MIN) was previously 20 but this is not correct. The datasheet is not completely explicit, however the new value of 4 has been tested with all the sensor modes supported by this driver, and matches the lowest exposure value of 114us that could be achieved wtih Raspberry Pi's legacy firmware driver. Signed-off-by: David Plowman <[email protected]>
1 parent 45599fd commit 999f4a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/i2c/imx477.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ MODULE_PARM_DESC(trigger_mode, "Set vsync trigger mode: 1=source, 2=sink");
6161
/* Exposure control */
6262
#define IMX477_REG_EXPOSURE 0x0202
6363
#define IMX477_EXPOSURE_OFFSET 22
64-
#define IMX477_EXPOSURE_MIN 20
64+
#define IMX477_EXPOSURE_MIN 4
6565
#define IMX477_EXPOSURE_STEP 1
6666
#define IMX477_EXPOSURE_DEFAULT 0x640
6767
#define IMX477_EXPOSURE_MAX (IMX477_FRAME_LENGTH_MAX - \

0 commit comments

Comments
 (0)