# Copyright (c) 2019, Song Qiang <songqiang1304521@gmail.com>
# SPDX-License-Identifier: Apache-2.0

# Common fields for DMA controllers

include: base.yaml

bus: dma

properties:
    label:
      required: true

    "#dma-cells":
      type: int
      required: true
      description: Number of items to expect in a DMA specifier

    dma-channel-mask:
      type: int
      required: false
      description: |
        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.

    dma-channels:
      type: int
      required: false
      description: Number of DMA channels supported by the controller

    dma-requests:
      type: int
      required: false
      description: Number of DMA request signals supported by the controller.

# Copyright (c) 2019, Song Qiang <songqiang1304521@gmail.com>
# SPDX-License-Identifier: Apache-2.0

# Common fields for DMA controllers

include: base.yaml

bus: dma

properties:
    label:
      required: true

    "#dma-cells":
      type: int
      required: true
      description: Number of items to expect in a DMA specifier

    dma-channel-mask:
      type: int
      required: false
      description: |
        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.

    dma-channels:
      type: int
      required: false
      description: Number of DMA channels supported by the controller

    dma-requests:
      type: int
      required: false
      description: Number of DMA request signals supported by the controller.

    dma-buf-alignment:
      type: int
      required: false
      description: Memory alignment requirement for DMA buffers used by the controller.

Add buffer alignment property to DTS Binding
dma: Add buffer alignment property to DTS Binding

Enable statically allocated buffers to determine their buffer alignment
with a device tree property rather than having to find out through docs.

Should save people lots of time.

Signed-off-by: Tom Burdick <63c280986e32082c9e27a1a69ac8b19e3d0c6b4b@intel.com>
