Skip to content

docs: document common DMA driver framework - #20201

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
arnavsharma990:docs-dma-framework
Sep 20, 2026
Merged

xiaoxiang781216 merged 1 commit into
apache:masterfrom
arnavsharma990:docs-dma-framework

Conversation

@arnavsharma990

Copy link
Copy Markdown
Contributor

Summary

Document the common DMA driver framework, which was previously
represented only by a minimal documentation stub.

The documentation covers:

  • DMA framework architecture and terminology
  • DMA controller and client interfaces
  • DMA channels and transfer lifecycle
  • DMA callbacks and transfer control
  • DMA link support
  • Requirements for implementing a DMA controller
  • Configuration options
  • Existing in-tree DMA users and implementation examples

The documentation is based on the current implementation in
include/nuttx/dma/dma.h and existing users such as
drivers/audio/audio_dma.c and drivers/serial/uart_16550.c.

The documentation also explicitly identifies parts of the common
interface for which there is currently no in-tree implementation
or caller.

Validation

  • Verified referenced DMA APIs, structures, fields, and file paths
    against the current source tree.
  • Verified the documentation against existing DMA users.
  • Ran RST/Sphinx validation successfully with no warnings.
  • Ran git diff --check.
  • Full NuttX documentation build was not available because the
    local environment does not have sphinx_rtd_theme installed.

Related Issue

Closes #20200

Document the common DMA driver framework and its usage.

Describe the DMA controller and client interfaces, channel and
transfer lifecycle, DMA links, controller implementation
requirements, and existing in-tree users.

Add references to the audio DMA and 16550 UART implementations
to provide concrete usage examples.

Signed-off-by: Arnav Sharma <2006arnavsharma@gmail.com>
@github-actions github-actions Bot added Area: Documentation Improvements or additions to documentation Size: M The size of the change in this PR is medium labels Sep 20, 2026
@simbit18
simbit18 requested a review from linguini1 September 20, 2026 07:17
@acassis

acassis commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

@arnavsharma990 you missed the "Assisted-by:" after your signature

@xiaoxiang781216
xiaoxiang781216 merged commit 6cd19e6 into apache:master Sep 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Documentation Improvements or additions to documentation Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] docs: document the DMA driver upper-half interface

3 participants