lede/target/linux/phytium/files-5.10/Documentation/devicetree/bindings/dma/phytium-ddma.yaml
HunZI a462d2b757
target: add phytium support (#11798)
* target: add phytium support

* kernel/video: add phytium platform ARM GPU support

* config: add EFI support to phytium armv8

* target: phytium: remove rtl8821cs driver

* target: phytium: refresh dts
2024-01-18 15:16:24 +08:00

56 lines
1.2 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
title: Phytium DDMA Controller bindings
description:
The Phytium DDMA is a general-purpose direct memory access controller capable of
supporting 8 independent DMA channels. Each channel can have up to 32 requests.
DMA clients connected to the Phytium DDMA controller must use the format
described in the dma.txt file, using a two-cell specifier for each
channel: a phandle to the DMA controller plus the following two integer cells:
1. The channel id
2. The request line number
maintainers:
- Huang Jie <huangjie1663@phytium.com.cn>
allOf:
- $ref: "dma-controller.yaml#"
properties:
"#dma-cells":
const: 2
compatible:
const: phytium,ddma
reg:
maxItems: 1
interrupts:
maxItems: 1
dma-channels:
minItems: 1
maxItems: 8
description: it indicates that the number of channels are used
required:
- compatible
- reg
- interrupts
- dma-channels
unevaluatedProperties: false
examples:
ddma0: ddma@28003000 {
compatible = "phytium,ddma";
reg = <0x0 0x28003000 0x0 0x1000>;
interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
#dma-cells = <2>;
dma-channels = <8>;
};
...