Skip to content

drivers: adc: stm32: Enable DMA based on dt configuration #94870

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erwango
Copy link
Member

@erwango erwango commented Aug 22, 2025

Enable DMA based on dt configuration (dma property added to adc node), similarly to other STM32 drivers.

Enable DMA based on dt configuration (dma property added to adc node),
similarly to other STM32 drivers.

Signed-off-by: Erwan Gouriou <[email protected]>
@zephyrbot zephyrbot added area: ADC Analog-to-Digital Converter (ADC) platform: STM32 ST Micro STM32 Release Notes To be mentioned in the release notes labels Aug 22, 2025
ADC
===

* On STM32 based devices, DMA will enabled automatically if dma property is added to the adc node.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* On STM32 based devices, DMA will enabled automatically if dma property is added to the adc node.
* On STM32 based targets, DMA will be enabled automatically if ``dmas`` property is added to an ADC's node in devicetree.

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ADC Analog-to-Digital Converter (ADC) platform: STM32 ST Micro STM32 Release Notes To be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants