Path: blob/master/Documentation/devicetree/bindings/dma/dma-common.yaml
26308 views
# SPDX-License-Identifier: GPL-2.01%YAML 1.22---3$id: http://devicetree.org/schemas/dma/dma-common.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: DMA Engine Common Properties78maintainers:9- Vinod Koul <vkoul@kernel.org>1011description:12Generic binding to provide a way for a driver using DMA Engine to13retrieve the DMA request or channel information that goes from a14hardware device to a DMA controller.1516select: false1718properties:19"#dma-cells":20minimum: 121# Should be enough22maximum: 25523description:24Used to provide DMA controller specific information.2526dma-channel-mask:27description:28Bitmask of available DMA channels in ascending order that are29not reserved by firmware and are available to the30kernel. i.e. first channel corresponds to LSB.31The first item in the array is for channels 0-31, the second is for32channels 32-63, etc.33$ref: /schemas/types.yaml#/definitions/uint32-array34minItems: 135# Should be enough36maxItems: 2553738dma-channels:39$ref: /schemas/types.yaml#/definitions/uint3240description:41Number of DMA channels supported by the controller.4243dma-requests:44$ref: /schemas/types.yaml#/definitions/uint3245description:46Number of DMA request signals supported by the controller.4748required:49- "#dma-cells"5051additionalProperties: true525354