dma-common.yaml (c95baf12f5077419db01313ab61c2aac007d40cd) dma-common.yaml (3d21a46093352f7802b9c66c7cce35cd02a50e53)
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 Generic Binding
8

--- 17 unchanged lines hidden (view full) ---

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.
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 Generic Binding
8

--- 17 unchanged lines hidden (view full) ---

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 allOf:
35 - $ref: /schemas/types.yaml#/definitions/uint32-array
34 $ref: /schemas/types.yaml#/definitions/uint32-array
36 items:
37 minItems: 1
38 # Should be enough
39 maxItems: 255
40
41 dma-channels:
42 $ref: /schemas/types.yaml#definitions/uint32
43 description:
44 Number of DMA channels supported by the controller.
45
46 dma-requests:
47 $ref: /schemas/types.yaml#definitions/uint32
48 description:
49 Number of DMA request signals supported by the controller.
50
51required:
52 - "#dma-cells"
35 items:
36 minItems: 1
37 # Should be enough
38 maxItems: 255
39
40 dma-channels:
41 $ref: /schemas/types.yaml#definitions/uint32
42 description:
43 Number of DMA channels supported by the controller.
44
45 dma-requests:
46 $ref: /schemas/types.yaml#definitions/uint32
47 description:
48 Number of DMA request signals supported by the controller.
49
50required:
51 - "#dma-cells"