Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some fixes to make imx290/imx327 exposure and vblank updates work correctly #4153

Merged

Conversation

davidplowman
Copy link
Contributor

@naushir @6by9
Just a few more small tweaks to make the driver work correctly with libcamera. Hopefully the commit messages and the changes themselves are reasonably self-explanatory. Thanks!

Should now correspond exactly to the datasheet.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
When vblank changes we must modify the exposure range. Also, with this
sensor, the effective exposure time implicitly changes when vblank
does, so we have to reset it after every vblank update.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
@6by9
Copy link
Contributor

6by9 commented Feb 18, 2021

I haven't checked against the datasheet, but the changes look reasonable.

@naushir
Copy link
Contributor

naushir commented Feb 19, 2021

LGTM

@pelwell pelwell merged commit 0a6eff7 into raspberrypi:rpi-5.10.y Feb 19, 2021
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Feb 22, 2021
kernel: PiFi DAC overlays
See: raspberrypi/linux#4154

kernel: staging: rpivid: Fix crash when CMA alloc fails
See: raspberrypi/linux#4152

kernel: Imx477 long exposure control
See: raspberrypi/linux#4150

kernel: configs: Change CONFIG_BLK_DEV_NVME=y for 2711
See: raspberrypi/linux#4164

kernel: Some fixes to make imx290/imx327 exposure and vblank updates work correctly
See: raspberrypi/linux#4153

kernel: KMS VGA666 overlay
See: raspberrypi/linux#4141

kernel: gpio-fsm: Fix shutdown timeout handling

kernel: configs: Add various missing IPV6 modules
See: raspberrypi/linux#4144
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Feb 22, 2021
kernel: PiFi DAC overlays
See: raspberrypi/linux#4154

kernel: staging: rpivid: Fix crash when CMA alloc fails
See: raspberrypi/linux#4152

kernel: Imx477 long exposure control
See: raspberrypi/linux#4150

kernel: configs: Change CONFIG_BLK_DEV_NVME=y for 2711
See: raspberrypi/linux#4164

kernel: Some fixes to make imx290/imx327 exposure and vblank updates work correctly
See: raspberrypi/linux#4153

kernel: KMS VGA666 overlay
See: raspberrypi/linux#4141

kernel: gpio-fsm: Fix shutdown timeout handling

kernel: configs: Add various missing IPV6 modules
See: raspberrypi/linux#4144
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.

None yet

4 participants