Skip to content

drivers: spi: nrfx_spim: use dmm #93487

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

Conversation

nika-nordic
Copy link
Contributor

Some nRF SoCs (i.e. nRF54H20) can peform DMA transfers only from specific memory regions - dmm facilitates that.

kl-cruz
kl-cruz previously approved these changes Jul 23, 2025
kl-cruz
kl-cruz previously approved these changes Jul 25, 2025
@nika-nordic nika-nordic force-pushed the add_dmm_spi_zephyrupstream branch from fef1592 to 0d37463 Compare July 28, 2025 06:39
@nika-nordic nika-nordic requested a review from kl-cruz July 30, 2025 13:02
@nika-nordic nika-nordic force-pushed the add_dmm_spi_zephyrupstream branch from 0d37463 to 160acc4 Compare July 31, 2025 06:29
Some nRF SoCs (i.e. nRF54H20) can peform DMA transfers
only from specific memory regions - `dmm` facilitates that.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
Direct variant of this test disables intermediate buffer
in the nRF SPI driver and verifies whether devices like nRF54H20,
which can peform DMA transcations only from specific memory regions,
are handled properly.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
Bounce buffers should be freed rather than user buffers.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
@nika-nordic nika-nordic force-pushed the add_dmm_spi_zephyrupstream branch from 160acc4 to bfafd95 Compare August 5, 2025 10:09
@nika-nordic
Copy link
Contributor Author

rebased on top of main

Copy link

sonarqubecloud bot commented Aug 5, 2025

@cfriedt cfriedt merged commit 8285cc0 into zephyrproject-rtos:main Aug 8, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: SPI SPI bus platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants