[PATCH v2 00/10] i.MX SDMA cleanups and fixes
From: Marco Felsch <hidden>
Date: 2025-09-11 21:56:56
Also in:
dmaengine, imx, lkml
Hi, by this series the i.MX SDMA handling for i.MX8M devices is fixed. This is required because these SoCs do have multiple SPBA busses. Furthermore this series does some cleanups to prepare the driver for the upcoming DMA devlink support. The DMA devlink support is required to fix the consumer <-> provider issue because the current i.MX SDMA driver doesn't honor current active DMA users once the i.MX SDMA driver is getting removed. Which can lead into very situations e.g. hang the whole system. Regards, Marco Signed-off-by: Marco Felsch <redacted> --- Changes in v2: - Link to v1: https://lore.kernel.org/r/20250903-v6-16-topic-sdma-v1-0-ac7bab629e8b@pengutronix.de (local) - Split DMA devlink support and SDMA driver fixes&cleanups into two series - Make of_dma_controller_free() fix backportable - Update struct sdma_channel documentation - Shuffle patches to have fixes patches at the very start of the series - Fix commit message wording - Check return value of devm_add_action_or_reset() --- Marco Felsch (10): dmaengine: imx-sdma: fix missing of_dma_controller_free() dmaengine: imx-sdma: fix spba-bus handling for i.MX8M dmaengine: imx-sdma: drop legacy device_node np check dmaengine: imx-sdma: sdma_remove minor cleanups dmaengine: imx-sdma: cosmetic cleanup dmaengine: imx-sdma: make use of devm_kzalloc for script_addrs dmaengine: imx-sdma: make use of devm_clk_get_prepared() dmaengine: imx-sdma: make use of devm_add_action_or_reset to unregiser the dma_device dmaengine: imx-sdma: make use of devm_add_action_or_reset to unregiser the dma-controller dmaengine: imx-sdma: make use of dev_err_probe() drivers/dma/imx-sdma.c | 181 ++++++++++++++++++++++++++----------------------- 1 file changed, 96 insertions(+), 85 deletions(-) --- base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f change-id: 20250903-v6-16-topic-sdma-4c8fd3bb0738 Best regards, -- Marco Felsch [off-list ref]