Documentation/devicetree/bindings/dma/mediatek,uart-dma.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/dma/mediatek,uart-dma.yaml
Extension
.yaml
Size
4043 bytes
Lines
145
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/mediatek,uart-dma.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MediaTek UART APDMA controller

maintainers:
  - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
  - Long Cheng <long.cheng@mediatek.com>

description: |
  The MediaTek UART APDMA controller provides DMA capabilities
  for the UART peripheral bus.

allOf:
  - $ref: dma-controller.yaml#

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - mediatek,mt2712-uart-dma
              - mediatek,mt6795-uart-dma
              - mediatek,mt8173-uart-dma
              - mediatek,mt8183-uart-dma
              - mediatek,mt8365-uart-dma
              - mediatek,mt8516-uart-dma
          - const: mediatek,mt6577-uart-dma
      - items:
          - enum:
              - mediatek,mt7988-uart-dma
              - mediatek,mt8186-uart-dma
              - mediatek,mt8188-uart-dma
              - mediatek,mt8192-uart-dma
              - mediatek,mt8195-uart-dma
          - const: mediatek,mt6835-uart-dma
      - items:
          - enum:
              - mediatek,mt6991-uart-dma
              - mediatek,mt8196-uart-dma
          - const: mediatek,mt6985-uart-dma
      - enum:
          - mediatek,mt6577-uart-dma
          - mediatek,mt6795-uart-dma
          - mediatek,mt6835-uart-dma
          - mediatek,mt6985-uart-dma

  reg:
    minItems: 1
    maxItems: 16

  interrupts:
    description: |
      TX, RX interrupt lines for each UART APDMA channel
    minItems: 1
    maxItems: 16

  clocks:
    description: Must contain one entry for the APDMA main clock
    maxItems: 1

  clock-names:
    const: apdma

  "#dma-cells":
    const: 1
    description: |

Annotation

Implementation Notes