1b37e3534SMaxime Ripard# SPDX-License-Identifier: GPL-2.0 2b37e3534SMaxime Ripard%YAML 1.2 3b37e3534SMaxime Ripard--- 4b37e3534SMaxime Ripard$id: http://devicetree.org/schemas/dma/dma-common.yaml# 5b37e3534SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml# 6b37e3534SMaxime Ripard 7b37e3534SMaxime Ripardtitle: DMA Engine Generic Binding 8b37e3534SMaxime Ripard 9b37e3534SMaxime Ripardmaintainers: 10b37e3534SMaxime Ripard - Vinod Koul <vkoul@kernel.org> 11b37e3534SMaxime Ripard 12b37e3534SMaxime Riparddescription: 13b37e3534SMaxime Ripard Generic binding to provide a way for a driver using DMA Engine to 14b37e3534SMaxime Ripard retrieve the DMA request or channel information that goes from a 15b37e3534SMaxime Ripard hardware device to a DMA controller. 16b37e3534SMaxime Ripard 17b37e3534SMaxime Ripardselect: false 18b37e3534SMaxime Ripard 19b37e3534SMaxime Ripardproperties: 20b37e3534SMaxime Ripard "#dma-cells": 21b37e3534SMaxime Ripard minimum: 1 22b37e3534SMaxime Ripard # Should be enough 23b37e3534SMaxime Ripard maximum: 255 24b37e3534SMaxime Ripard description: 25b37e3534SMaxime Ripard Used to provide DMA controller specific information. 26b37e3534SMaxime Ripard 27b37e3534SMaxime Ripard dma-channel-masks: 28b37e3534SMaxime Ripard $ref: /schemas/types.yaml#definitions/uint32 29b37e3534SMaxime Ripard description: 30b37e3534SMaxime Ripard Bitmask of available DMA channels in ascending order that are 31b37e3534SMaxime Ripard not reserved by firmware and are available to the 32b37e3534SMaxime Ripard kernel. i.e. first channel corresponds to LSB. 33b37e3534SMaxime Ripard 34b37e3534SMaxime Ripard dma-channels: 35b37e3534SMaxime Ripard $ref: /schemas/types.yaml#definitions/uint32 36b37e3534SMaxime Ripard description: 37b37e3534SMaxime Ripard Number of DMA channels supported by the controller. 38b37e3534SMaxime Ripard 39b37e3534SMaxime Ripard dma-requests: 40b37e3534SMaxime Ripard $ref: /schemas/types.yaml#definitions/uint32 41b37e3534SMaxime Ripard description: 42b37e3534SMaxime Ripard Number of DMA request signals supported by the controller. 43b37e3534SMaxime Ripard 44b37e3534SMaxime Ripardrequired: 45b37e3534SMaxime Ripard - "#dma-cells" 46