1# Copyright (c) 2019, Song Qiang <songqiang1304521@gmail.com> 2# SPDX-License-Identifier: Apache-2.0 3 4# Common fields for DMA controllers 5 6include: base.yaml 7 8bus: dma 9 10properties: 11 "#dma-cells": 12 type: int 13 required: true 14 description: Number of items to expect in a DMA specifier 15 16 dma-channel-mask: 17 type: int 18 description: | 19 Bitmask of available DMA channels in ascending order that are 20 not reserved by firmware and are available to the 21 kernel. i.e. first channel corresponds to LSB. 22 23 dma-channels: 24 type: int 25 description: Number of DMA channels supported by the controller 26 27 dma-requests: 28 type: int 29 description: Number of DMA request signals supported by the controller. 30 31 dma-buf-addr-alignment: 32 type: int 33 description: Memory address alignment requirement for DMA buffers used by the controller. 34 35 dma-buf-size-alignment: 36 type: int 37 description: Memory size alignment requirement for DMA buffers used by the controller. 38 39 dma-copy-alignment: 40 type: int 41 description: Minimal chunk of data possible to be copied by the controller. 42