Repository navigation
media: i2c: ov9281: Increase diff between VTS and max exposure - #4807
Merged
Merged
Conversation
Contributor
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. |
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>
Contributor
Author
|
Updated. |
Contributor
|
LGTM |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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