Skip to content

Conversation

@arnopo
Copy link
Contributor

@arnopo arnopo commented Oct 20, 2025

On the STM32MP13 and stm32mp2x Ethernet peripherals, there are two DMA channels. As a consequence, the ETH_DMACSR_XXX definitions do not exist and should be replaced by ETH_DMAC0SR_CDE and ETH_DMAC1SR_CDE.

While waiting for the fix in the STM32Cube distribution, the workaround is to replace ETH_DMACSR_XXX with ETH_DMAC0SR_XXX. Indeed, the bit definitions for ETH_DMAC0SR_XXX and ETH_DMAC1SR_XXX are identical.

@arnopo arnopo changed the title stm32cube: stm32h7: eth: Fix ETH_DMA_XXX definitions stm32cube: stm32mp13: eth: Fix ETH_DMA_XXX definitions Oct 20, 2025
Copy link
Member

@erwango erwango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update "Patch list" section in series README and don't forget to add internal bug reference.

On the Ethernet peripheral, there are two DMA channels.
As a consequence, the ETH_DMACSR_XXX definitions do not exist and
should be replaced by ETH_DMAC0SR_CDE and ETH_DMAC1SR_CDE.

While waiting for the fix in the STM32Cube distribution, the workaround
is to replace ETH_DMACSR_XXX with ETH_DMAC0SR_XXX.
Indeed, the bit definitions for ETH_DMAC0SR_XXX and ETH_DMAC1SR_XXX
are identical.

Signed-off-by: Arnaud Pouliquen <[email protected]>
@arnopo
Copy link
Contributor Author

arnopo commented Oct 20, 2025

Please update "Patch list" section in series README and don't forget to add internal bug reference.

Done

@arnopo arnopo requested a review from erwango October 20, 2025 14:28
@erwango erwango requested a review from gautierg-st October 20, 2025 14:55
On the Ethernet peripheral, there are two DMA channels.
As a consequence, the ETH_DMACSR_XXX definitions do not exist and
should be replaced by ETH_DMAC0SR_CDE and ETH_DMAC1SR_CDE.

While waiting for the fix in the STM32Cube distribution, the workaround
is to replace ETH_DMACSR_XXX with ETH_DMAC0SR_XXX.
Indeed, the bit definitions for ETH_DMAC0SR_XXX and ETH_DMAC1SR_XXX
are identical.

Signed-off-by: Arnaud Pouliquen <[email protected]>
@arnopo arnopo changed the title stm32cube: stm32mp13: eth: Fix ETH_DMA_XXX definitions stm32cube: stm32mp13/2: eth: Fix ETH_DMA_XXX definitions Oct 21, 2025
@arnopo arnopo requested review from erwango and gautierg-st October 21, 2025 07:53
Copy link
Collaborator

@gautierg-st gautierg-st left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@erwango erwango merged commit c4f78b6 into zephyrproject-rtos:main Oct 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants