ti,cc35xx-dma

Description

These nodes are “dma” bus nodes.

TI Simplelink DMA controller for the cc35xx chip family.


The TI CC35xx SoC has a general-purpose direct memory access controller
capable of supporting 12independent DMA channels. DMA clients connected
to the DMA controller must use three-cell specifier  for each channel:
  a phandle to the DMA controller plus the following two integer cells:
    1. channel: the DMA stream from 0 to 11 (max 12 channels).
       Note that channel 11 is reserved for the BT/WIFI subsystem, and cannot
       be used directly in the DTS
    2. channel-config: A 32bit mask specifying the DMA channel configuration
       which is device and peripheral dependent:
         -bit 0-3 Peripheral index

Example of devicetree configuration

 Client side:
   uart0 {
       dmas = <&dma1 3 CC35XX_DMA_SET_CONFIG(CC35xx_DMA_PERIPH_UARTLIN_0)>,
              <&dma1 2 CC35XX_DMA_SET_CONFIG(CC35xx_DMA_PERIPH_UARTLIN_0)>
       dma-names = "tx", "rx";
   }

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#dma-cells

int

Number of items to expect in a DMA specifier

This property is required.

Constant value: 2

dma-channel-mask

int

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

int

Number of DMA channels supported by the controller

dma-requests

int

Number of DMA request signals supported by the controller.

dma-buf-addr-alignment

int

Memory address alignment requirement for DMA buffers used by the controller.

dma-buf-size-alignment

int

Memory size alignment requirement for DMA buffers used by the controller.

dma-copy-alignment

int

Minimal chunk of data possible to be copied by the controller.

Specifier cell names

  • dma cells: channel, channel-config