Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/dma/dma-common.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: DMA Engine Common Properties
8
9maintainers:
10 - Vinod Koul <vkoul@kernel.org>
11
12description:
13 Generic binding to provide a way for a driver using DMA Engine to
14 retrieve the DMA request or channel information that goes from a
15 hardware device to a DMA controller.
16
17select: false
18
19properties:
20 "#dma-cells":
21 minimum: 1
22 # Should be enough
23 maximum: 255
24 description:
25 Used to provide DMA controller specific information.
26
27 dma-channel-mask:
28 description:
29 Bitmask of available DMA channels in ascending order that are
30 not reserved by firmware and are available to the
31 kernel. i.e. first channel corresponds to LSB.
32 The first item in the array is for channels 0-31, the second is for
33 channels 32-63, etc.
34 $ref: /schemas/types.yaml#/definitions/uint32-array
35 minItems: 1
36 # Should be enough
37 maxItems: 255
38
39 dma-channels:
40 $ref: /schemas/types.yaml#/definitions/uint32
41 description:
42 Number of DMA channels supported by the controller.
43
44 dma-requests:
45 $ref: /schemas/types.yaml#/definitions/uint32
46 description:
47 Number of DMA request signals supported by the controller.
48
49required:
50 - "#dma-cells"
51
52additionalProperties: true