-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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: esp32s3: add support for cam interface #77709
Conversation
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 so far, there is just a small nit, but nothing blocker at all, feel free to skip it.
{ | ||
int ret = 0; | ||
|
||
ret = pinctrl_apply_state(esp32_config.pcfg, PINCTRL_STATE_DEFAULT); |
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.
I think since this is not related to clock, it is better to be moved to the global esp32_cam_init?
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.
Actually I need this guy here to configure the pin that generates the clock for the cam. But it is duplicated, I'll fix it and change the function name.
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.
Maybe a little comment about this would help future maintenance.
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.
I would prefer self-explanatory code like a function or something, I'm afraid a comment here may get outdated silently until is not reflecting the actual code.
f89f7a3
to
7a87208
Compare
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
9d3963e
to
a404c18
Compare
f234e4a
to
d2328f6
Compare
Need to address those comments, otherwise LGTM. |
Adding support for the esp32s3 LCD_CAM peripheral. Signed-off-by: Armin Kessler <[email protected]>
a63db63
d2328f6
to
a63db63
Compare
Add support for the esp32s3 LCD_CAM peripheral.