DMA Engine Common Properties
Schema identifier ($id): "http://devicetree.org/schemas/dma/dma-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
Generic binding to provide a way for a driver using DMA Engine to retrieve the DMA request or channel information that goes from a hardware device to a DMA controller.
Automatic schema selection (select) #
false
Not selected automatically by this rule.
Properties and child nodes (properties) #
#dma-cells — required here #
Minimum value (minimum): 1
Maximum value (maximum): 255
Used to provide DMA controller specific information.
dma-channel-mask — not listed as required here #
Bitmask of available DMA channels in ascending order that are not reserved by firmware and are available to the kernel. i.e. first channel corresponds to LSB. The first item in the array is for channels 0-31, the second is for channels 32-63, etc.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 255
dma-channels — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Number of DMA channels supported by the controller.
dma-requests — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Number of DMA request signals supported by the controller.
Required in this object (required): "#dma-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 22: Should be enough
Line 36: Should be enough