-
Notifications
You must be signed in to change notification settings - Fork 7.3k
drivers: video: ov2640: add sensor driver for ov2640 #36423
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
Conversation
Do you plan to submit a subsequent patch for the image processing/acquisition side of this microcontroller? |
8a92398
to
8a88864
Compare
Right now we don't have any subsequent patches for the image processing planned for |
ok, understood, but how did you test that? have you only tested the control path (i2c) or are you using some downstream driver for data catpure? |
I developed an app that integrates this driver with FastVDMA, Zephyr net driver and shell subsystem. This allows me to write captured image to memory and then transfer it to my PC via Ethernet. After that I am able to convert an image to png (using |
8a88864
to
e0be21a
Compare
Ok, thanks for the clarification. |
e0be21a
to
c412277
Compare
LGTM from a video framework perspective. |
c412277
to
c925144
Compare
c925144
to
dc64854
Compare
@robertszczepanski please rebase to the latest main branch |
Add JPEG pixel format needed for cameras with JPEG compression capability. Signed-off-by: Robert Szczepanski <rszczepanski@antmicro.com>
Add more camera control IDs for cameras with more capabilities. Signed-off-by: Robert Szczepanski <rszczepanski@antmicro.com>
This adds the driver for Omnivision OV2640 image sensor. The driver provides support for 10 different resolutions in range from 160x120 to 1600x1200 in both JPEG and RGB565 pixel formats. There are also mutliple configuration options, e.g. hflip, vflip, saturation and brightness control. Signed-off-by: Robert Szczepanski <rszczepanski@antmicro.com>
dc64854
to
9fe0b4e
Compare
@carlescufi done :) |
This adds driver for Omnivision OV2640 image sensor.
The driver provides support for:
There is also new node in
litex_vexriscv
devicetree that represents OV2640 camera.It has been tested on Arty A7-35T with LiteX SoC. OV2640 camera XCLK set to 24MHz.