Skip to content
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

drivers: dma: silabs: Implementation of chan_filter and chan_release API with DMADRV functions. #85402

Merged

Conversation

Martinhoff-maker
Copy link
Collaborator

@Martinhoff-maker Martinhoff-maker commented Feb 7, 2025

The goal of this patch is to maintain synchronization on DMA channel allocation between HAL DMA driver and Zephyr Silabs DMA driver.

@zephyrbot
Copy link
Collaborator

zephyrbot commented Feb 7, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_silabs zephyrproject-rtos/hal_silabs@2e64a70 zephyrproject-rtos/hal_silabs@1e60d97 (main) zephyrproject-rtos/hal_silabs@2e64a70d..1e60d972

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@zephyrbot zephyrbot added manifest manifest-hal_silabs DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Feb 7, 2025
@Martinhoff-maker Martinhoff-maker force-pushed the silabs_ldma_dmadrv_patch branch from 082592b to eca294d Compare February 7, 2025 17:05
@Martinhoff-maker Martinhoff-maker marked this pull request as ready for review February 7, 2025 17:09
@zephyrbot zephyrbot added area: DMA Direct Memory Access platform: Silabs Silicon Labs labels Feb 7, 2025
@rettichschnidi rettichschnidi removed their request for review February 10, 2025 09:50
asmellby
asmellby previously approved these changes Feb 11, 2025
@zephyrbot zephyrbot removed the DNM (manifest) This PR should not be merged (controlled by action-manifest) label Feb 11, 2025
teburd
teburd previously approved these changes Feb 11, 2025
@@ -502,7 +513,9 @@ static DEVICE_API(dma, dma_funcs) = {
.config = dma_silabs_configure,
.start = dma_silabs_start,
.stop = dma_silabs_stop,
.get_status = dma_silabs_get_status
.get_status = dma_silabs_get_status,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please review and ensure the requirements have been met for these APIs, I have no insight into the HAL implementation of these functions so I can't definitively say if the requirements have been met.

Update hal_silabs to include emdrv/dmadrv.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Update Cmake to include hal EMDRV header
It also adds dmadrv source when CONFIG_SOC_GECKO_LDMA is selected

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Implementation of chan_filter and chan_release allows to maintain
synchronization about DMA channel allocation between hal DMA driver and
zephyr DMA driver.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
@kartben kartben merged commit b8272cc into zephyrproject-rtos:main Feb 12, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants