Add Amlogic general DMA
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20251215-amlogic-dma-79477d5cd264Versions newest first
- v12 Latest3 patches 2 repliesApplied
- v113 patches 4 repliesSuperseded
- v103 patches 0 repliesSuperseded
Earlier versions · 9
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v9 | 3 patches | 2 replies | Superseded | |
| v8 | 3 patches | 0 replies | Superseded | |
| v7 | 3 patches | 0 replies | Superseded | |
| v6 | 3 patches | 3 replies | Superseded | |
| v5 | 3 patches | 6 replies | Superseded | |
| v4 | 3 patches | 4 replies | Superseded | |
| v3 | 3 patches | 6 replies | Superseded | |
| v2 | 3 patches | 5 replies | Superseded | |
| v1 | 3 patches | 6 replies | Superseded |
Changes in v12 from the cover letter
- Add prefix "AMLOGIG_A9_" for channel type.
- Use workqueue to free,and when remove module,destory queue.
- Consider the little-endian for hardware.
- Modify get dma status return value.
- Optimize the code according to Vinod's suggestion.
- Link to v11: https://lore.kernel.org/r/[email protected]
Patches in v12 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dt-bindings: dma: Add Amlogic A9 SoC DMADocumentation/ include/ | +76 | 1 reply | |
| 2/3 | dmaengine: amlogic: Add general DMA driver for A9drivers/ drivers/ drivers/ | +748 | 0 replies | |
| 3/3 | MAINTAINERS: Add an entry for Amlogic DMA driverMAINTAINERS | +7 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski | Frank Li |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v12 0/3] Add Amlogic general DMA
Add DMA driver and bindigns for the Amlogic SoCs.
---
Changes in v12:
- Add prefix "AMLOGIG_A9_" for channel type.
- Use workqueue to free,and when remove module,destory queue.
- Consider the little-endian for hardware.
- Modify get dma status return value.
- Optimize the code according to Vinod's suggestion.
- Link to v11: https://lore.kernel.org/r/[email protected]
Changes in v11:
- MAX_DMA_LEN 4-byte align, and return real status when get, and lockless error print.
- Link to v10: https://lore.kernel.org/r/[email protected]
Changes in v10:
- Free dma memory in workqueue.
- Deal with zero len sg (not consume sg_link),and reset status to DMA_COMPLETE when terminal channel.
- Add desc for #dma-cells in dt-bindings.
- Link to v9: https://lore.kernel.org/r/[email protected]
Changes in v9:
- Use each transmission request sg_link mem instead of the loop mem get.
- Fix some hidden issues which reviewed by ai robot.
- Link to v8: https://lore.kernel.org/r/[email protected]
Changes in v8:
- Use kzalloc instead of kmalloc.
- Initialize the temporary variable and fix a spelling mistake.
- Link to v7: https://lore.kernel.org/r/[email protected]
Changes in v7:
- Take use vchan to support mltiple txns.
- Link to v6: https://lore.kernel.org/r/[email protected]
Changes in v6:
- Some minor modifications according to Frank's suggestion.
- Link to v5: https://lore.kernel.org/r/[email protected]
Changes in v5:
- Rename head file and rename macro definition.
- Rename the subject in [2/3] from "dma" to "dmaengine".
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
- Support split transfer when data len > MAX_LEN.
- When a module fails or exits, perform de-initialization.
- Some other minor modifications.
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Adjust the format of binding according to Frank's suggestion.
- Some code format modified according to Frank's suggestion.
- Support one prep_sg and one submit, drop multi prep_sg and one submit.
- Keep pre state when resume from pause status.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Introduce what the DMA is used for in the A9 SoC.
- Some minor modifications were made according to Krzysztof's suggestions.
- Some modifications were made according to Neil's suggestions.
- Fix a build error.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Xianwei Zhao (3):
dt-bindings: dma: Add Amlogic A9 SoC DMA
dmaengine: amlogic: Add general DMA driver for A9
MAINTAINERS: Add an entry for Amlogic DMA driver
.../devicetree/bindings/dma/amlogic,a9-dma.yaml | 68 ++ MAINTAINERS | 7 + drivers/dma/Kconfig | 10 + drivers/dma/Makefile | 1 + drivers/dma/amlogic-dma.c | 737 +++++++++++++++++++++ include/dt-bindings/dma/amlogic,a9-dma.h | 8 + 6 files changed, 831 insertions(+)
---
base-commit: bea91d748771879c695b869a6c5a4a172cb0035f
change-id: 20251215-amlogic-dma-79477d5cd264
Best regards,
Signature · 1 line
Xianwei Zhao <[email protected]>