Documentation/devicetree/bindings/dma/fsl,elo3-dma.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/dma/fsl,elo3-dma.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/dma/fsl,elo3-dma.yaml
Extension
.yaml
Size
3099 bytes
Lines
126
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/dma/fsl,elo3-dma.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale Elo3 DMA Controller

maintainers:
  - J. Neuschäfer <j.ne@posteo.net>

description:
  DMA controller which has same function as EloPlus except that Elo3 has 8
  channels while EloPlus has only 4, it is used in Freescale Txxx and Bxxx
  series chips, such as t1040, t4240, b4860.

properties:
  compatible:
    const: fsl,elo3-dma

  reg:
    items:
      - description:
          DMA General Status Registers starting from DGSR0, for channel 1~4
      - description:
          DMA General Status Registers starting from DGSR1, for channel 5~8

  ranges: true

  "#address-cells":
    const: 1

  "#size-cells":
    const: 1

  interrupts:
    maxItems: 1

patternProperties:
  "^dma-channel@[0-9a-f]+$":
    type: object
    additionalProperties: false

    properties:
      compatible:
        enum:
          # native DMA channel
          - fsl,eloplus-dma-channel

          # audio DMA channel, see fsl,ssi.yaml
          - fsl,ssi-dma-channel

      reg:
        maxItems: 1

      interrupts:
        maxItems: 1
        description:
          Per-channel interrupt. Only necessary if no controller interrupt has
          been provided.

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>

    dma@100300 {
        compatible = "fsl,elo3-dma";
        reg = <0x100300 0x4>,

Annotation

Implementation Notes