Skip to content

media: i2c: ov9281: Increase diff between VTS and max exposure - #4807

Merged
pelwell merged 1 commit into
raspberrypi:rpi-5.10.yfrom
6by9:rpi-5.10.y
Jan 5, 2022
Merged

pelwell merged 1 commit into
raspberrypi:rpi-5.10.yfrom
6by9:rpi-5.10.y

Conversation

@6by9

@6by9 6by9 commented Jan 4, 2022

Copy link
Copy Markdown
Contributor

The driver did allow the exposure to go up to VTS - 4 lines,
but this would produce a visible line on 1280x800, and a stall of
the sensor at 640x480.

Whilst it appears to work with a difference of 5, the datasheet states
there should be at least 25 lines difference between VTS and exposure,
so use that value.

Signed-off-by: Dave Stevenson dave.stevenson@raspberrypi.com

@pelwell

pelwell commented Jan 5, 2022

Copy link
Copy Markdown
Contributor

Whilst it appears to work with a difference of 5, the datasheet states
there should be at least 25 lines difference between VTS and exposure,
so use that value.

This sentence made me expect OV9281_EXPOSURE_OFFSET to be set to 25, not 5 - "although I can get away with A, the datasheet says B, so do that" suggests "that" is B, not A.

@6by9

6by9 commented Jan 5, 2022

Copy link
Copy Markdown
Contributor Author

Oops, I tested with 5 as I was writing that comment, and then forgot to restore it back to 25. Will update.

The driver did allow the exposure to go up to VTS - 4 lines,
but this would produce a visible line on 1280x800, and a stall of
the sensor at 640x480.

Whilst it appears to work with a difference of 5, the datasheet states
there should be at least 25 lines difference between VTS and exposure,
so use that value.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@6by9

6by9 commented Jan 5, 2022

Copy link
Copy Markdown
Contributor Author

Updated.

@naushir

naushir commented Jan 5, 2022

Copy link
Copy Markdown
Contributor

LGTM

@pelwell
pelwell merged commit e85172e into raspberrypi:rpi-5.10.y Jan 5, 2022
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jan 13, 2022
kernel: arm: Fix custom rpi __memset32 and __memset64
See: raspberrypi/linux#4820

kernel: drm/vc4: Disable Gamma control on HVS5 due to issues writing the table
See: raspberrypi/linux#4825

kernel: drm/vc4: hdmi: Fix clock value used for validating hdmi modes
See: raspberrypi/linux#4826

kernel: overlays: Add vl805 overlay
See: https://forums.raspberrypi.com/viewtopic.php?t=326088

kernel: configs: add CONFIG_LEDS_TRIGGER_PATTERN=m
See: raspberrypi/linux#4789

kernel: Add overlay for Azoteq IQS550
See: raspberrypi/linux#4813

kernel: dtoverlays: Add backlight-gpio parameter to vc4-kms-dpi-generic
See: raspberrypi/linux#4815

kernel: bcm2835-v4l2-isp: Add missing lock initialization
See: raspberrypi/linux#4800

kernel: media: i2c: ov9281: Increase diff between VTS and max exposure
See: raspberrypi/linux#4807
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jan 13, 2022
kernel: arm: Fix custom rpi __memset32 and __memset64
See: raspberrypi/linux#4820

kernel: drm/vc4: Disable Gamma control on HVS5 due to issues writing the table
See: raspberrypi/linux#4825

kernel: drm/vc4: hdmi: Fix clock value used for validating hdmi modes
See: raspberrypi/linux#4826

kernel: overlays: Add vl805 overlay
See: https://forums.raspberrypi.com/viewtopic.php?t=326088

kernel: configs: add CONFIG_LEDS_TRIGGER_PATTERN=m
See: raspberrypi/linux#4789

kernel: Add overlay for Azoteq IQS550
See: raspberrypi/linux#4813

kernel: dtoverlays: Add backlight-gpio parameter to vc4-kms-dpi-generic
See: raspberrypi/linux#4815

kernel: bcm2835-v4l2-isp: Add missing lock initialization
See: raspberrypi/linux#4800

kernel: media: i2c: ov9281: Increase diff between VTS and max exposure
See: raspberrypi/linux#4807
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants