-
Notifications
You must be signed in to change notification settings - Fork 7.7k
video: introduction of STM32 DCMIPP driver #89407
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
Merged
kartben
merged 8 commits into
zephyrproject-rtos:main
from
avolmat-st:video_dcmipp_driver
Jun 6, 2025
Merged
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
ba0b193
dts-bindings: video: addition of stm32 dcmipp description
3ed8c23
drivers: video: introduction of the stm32 DCMIPP driver
7f2803b
drivers: video: dcmipp: add functions for external ISP functions usage
94cfcbf
dts: arm: st: n6: add dcmipp node
437d853
boards: st: stm32n6570_dk: Add IC17/IC18 settings for DCMIPP/CSI
b7c02d4
boards: st: stm32n6570_dk: csi_22pins connector related labels
9b4e507
dts: arm: st: mp13: add dcmipp node in stm32mp135.dtsi
1b54d25
shields: st_b_cams_imx_mb1854: add stm32n6 specifc confs
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright (c) 2025 STMicroelectronics. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef ZEPHYR_INCLUDE_VIDEO_STM32_DCMIPP_H_ | ||
#define ZEPHYR_INCLUDE_VIDEO_STM32_DCMIPP_H_ | ||
|
||
/* Prototypes of ISP external handler weak functions */ | ||
void stm32_dcmipp_isp_vsync_update(DCMIPP_HandleTypeDef *hdcmipp, uint32_t Pipe); | ||
int stm32_dcmipp_isp_init(DCMIPP_HandleTypeDef *hdcmipp, const struct device *source); | ||
int stm32_dcmipp_isp_start(void); | ||
int stm32_dcmipp_isp_stop(void); | ||
|
||
#endif /* ZEPHYR_INCLUDE_VIDEO_STM32_DCMIPP_H_ */ |
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.
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.
For my better knowledge, could you give some more details about the external ISP handler who could override these functions ? Is it supposed to be the application, the drivers or some library ? Thanks
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.
The application (or a library linked together with the application) would implement those function which perform the ISP configuration via the DCMIPP HAL code. There are already available library for that purpose, such as
https://wiki.st.com/stm32mcu/wiki/ISP:ISP_middleware
https://github.com/STMicroelectronics/STM32CubeN6/tree/v1.1.0/Middlewares/ST/STM32_ISP_Library
So the Zephyr DCMIPP driver is performing all the pipeline configuration and the ISP part (aka, statistics analysis, configuration of various ISP blocks) are done via those handler.
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.
Looks like we need some thing equivalent to libcamera mechanisms in the future to support these cases generically