ti,lpf3-dma

Description

These nodes are “dma” bus nodes.

TI SimpleLink LPF3 uDMA controller (CC23x0, CC27xx)

channel: Select channel for data transmitting. Channels are either
  Dedicated uDMA channels (DCH) for peripherals or Event Publisher Channels
  (ECH) that can be connected to any EVTSVT publishers.

slot: For ECH channels, the slot should be an EVTSVT event publisher ID.
  For DCH channels, it should be an EVTSVT IP ID.

In the driver, setting the source_chaning_en enables the uDMA auto mode, and
deselecting enables basic mode. Setting source_handshake selects software
triggered transfers and deselecting it enables hardware triggered transfers.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#dma-cells

int

The 1st cell specifies the DMA channel to be used for the data transfer.
This channel should be unique between all peripherals that are using the
DMA instance.
The 2nd cell defines the peripheral trigger which is the source of the transfer.
See the SoC's reference manual for all the supported request sources.

Example of devicetree DMA channel configuration for the client part:

&uart0 {
    dmas = <&dma 0 7>, <&dma 1 6>;
    dma-names = "rx", "tx";
};

Above, fragment 0 and 1 represent the different channels used to transfer
data between peripheral and RAM. The numbers 7/6 are uart0 rx/tx triggers.

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, trigsrc