-
Notifications
You must be signed in to change notification settings - Fork 8k
stm32h747 camera support + stm32h7s related DT fixes #96178
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
Changes from all commits
01270ac
bdaedf5
7a1c77c
a9b620c
3af5b99
16a7108
84d3c6b
43db680
8e24403
e5d2b69
4b28ba8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ | |
}; | ||
|
||
&st_cam_i2c { | ||
status = "okay"; | ||
|
||
ov5640: ov5640@3c { | ||
compatible = "ovti,ov5640"; | ||
reg = <0x3c>; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* Copyright (c) 2025 STMicroelectronics | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&dma1 { | ||
status = "okay"; | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (c) 2025 STMicroelectronics | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&dma1 { | ||
status = "okay"; | ||
}; | ||
|
||
&dmamux1 { | ||
status = "okay"; | ||
}; | ||
|
||
&mco1 { | ||
clocks = <&rcc STM32_SRC_SYSCLK MCO1_SEL(MCO_SEL_SYSCLK)>; | ||
prescaler = <MCO1_PRE(MCO_PRE_DIV_4)>; | ||
pinctrl-0 = <&rcc_mco_pa8>; | ||
pinctrl-names = "default"; | ||
status = "okay"; | ||
}; |
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -35,7 +35,7 @@ uint32_t dma_stm32_id_to_stream(uint32_t id) | |||||||
return stream_nr[id]; | ||||||||
} | ||||||||
|
||||||||
#if !defined(CONFIG_DMAMUX_STM32) | ||||||||
#if !defined(CONFIG_SOC_SERIES_STM32H7X) && !defined(CONFIG_SOC_SERIES_STM32MP1X) | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Non blocking: Then, what about applying the same to zephyr/drivers/dma/dma_stm32.h Lines 53 to 55 in 5fd0412
[Out of scope of this PR] There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed in next commit! Thanks :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah I split the fix commit and the removal of dead code commit. |
||||||||
uint32_t dma_stm32_slot_to_channel(uint32_t slot) | ||||||||
{ | ||||||||
static const uint32_t channel_nr[] = { | ||||||||
|
@@ -345,15 +345,6 @@ void stm32_dma_disable_fifo_irq(DMA_TypeDef *dma, uint32_t id) | |||||||
LL_DMA_DisableIT_FE(dma, dma_stm32_id_to_stream(id)); | ||||||||
} | ||||||||
|
||||||||
#if !defined(CONFIG_DMAMUX_STM32) | ||||||||
void stm32_dma_config_channel_function(DMA_TypeDef *dma, uint32_t id, | ||||||||
uint32_t slot) | ||||||||
{ | ||||||||
LL_DMA_SetChannelSelection(dma, dma_stm32_id_to_stream(id), | ||||||||
dma_stm32_slot_to_channel(slot)); | ||||||||
} | ||||||||
#endif | ||||||||
|
||||||||
uint32_t stm32_dma_get_mburst(struct dma_config *config, bool source_periph) | ||||||||
{ | ||||||||
uint32_t memory_burst; | ||||||||
|
Uh oh!
There was an error while loading. Please reload this page.