-
Notifications
You must be signed in to change notification settings - Fork 8.3k
drivers: video: Add Himax HM0360 camera sensor driver #94904
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
drivers: video: Add Himax HM0360 camera sensor driver #94904
Conversation
f702fc8 to
de61b54
Compare
|
|
#94894 is only needing a 2nd review... but before some merge conflicts need to be addressed. For this current PR, I just need to find a free slice of time as I'm pretty busy and late with work on USB lately. Thanks for the patience, and apologies for such delay! |
de61b54 to
23e4782
Compare
77c69c7 to
38143b3
Compare
josuah
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this driver!
I have added a few comments, I hope you find them relevant.
You might also want to look at this PR which has already been reviewed, but not yet merged, still could bring some illustrations of how to use the newest video APIs:
https://github.com/zephyrproject-rtos/zephyr/pull/94894/files
|
Sorry I know side comment:
Wondering if he will finish the HM01b0 or should someone submit a new one? |
The sensor is complete and has passed review and now just need some rebase and then getting merged. Or did you spot missing settings you wanted to also add to it? |
a) Resolutions are wrong: when you ask for 320x320 it actually returns something like 324x324 ditto for 320x240 b) 1b0 has setting for data-bits: which can be 1,4,8 I believe 360 support 4,8? Not sure about 1. How should this be c) Color, supports color: probably needs new things added to types table: VIDEO_PIX_FMT_SBGGR8 (Bayer) Sorry I know this is mostly off topic here. |
Thanks for the review if I didn't say it earlier. But not sure what you mean about the newest video API;s ... But I do see where you had me incorporate s/w changes that were similar :) Going to push changes as separate commit so you can see the changes from one to the other - or would you prefer I squash them into one. Thanks Mike |
The arducam HM0360 that I have been using only support greyscale / monochrome - the color version will support bayer accoding to the spec. We ran into this when we were testing with the Teensy. EDIT: Think will try Bayer as an experiment |
f70cc7e to
7981dce
Compare
b0f161c to
638b9d8
Compare
638b9d8 to
6459574
Compare
avolmat-st
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the patch.
In addition to other inline comments, could you also fix the commit message, it currently have twice the same line:
drivers: video Add Himax HM0360 camera sensor driver
6459574 to
7fe10f0
Compare
|
@avolmat-st - @josuah |
7fe10f0 to
a716550
Compare
a716550 to
7c975a8
Compare
|
Thanks for the update. Make 3 comments above in reply to previous points: 2 optional, 1 blocking (set_fmt function return value checking) |
7c975a8 to
12dc23c
Compare
Ok - all changes incorporated |
avolmat-st
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update. Sorry, added 3 comments but really apart from that it is all good to me.
12dc23c to
c4a004e
Compare
Pushed the changes and no problem. Easy ones. |
Adds support for the HM0360 camera. Signed-off-by: Michael Smorto <CyberMerln@gmail.com>
c4a004e to
13f06d3
Compare
|
avolmat-st
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, all ok.
ngphibang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the work !
|
Hi @mjs513! To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge. Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁 |



The camera supports grayscale in qqvga, qvga and vga resolutions. It has been tested on a arduino giga r1.