sifli,sf32lb-dmac

Vendor: SiFli Technologies(Nanjing) Co., Ltd

Note

An implementation of a driver matching this compatible is available in drivers/dma/dma_sf32lb.c.

Description

These nodes are “dma” bus nodes.

SF32LB DMA Controller

DMA consumers must specify 3 cells:
- channel: DMA channel number
- request: DMA request (see sf32lbxx-dma.h)
- config: DMA channel configuration (bitfield, see sf32lb-dma-config.h)

Properties

Properties not inherited from the base binding file.

Name

Type

Details

dma-channels

int

Number of DMA channels supported by the controller

This property is required.

dma-requests

int

Number of DMA request signals supported by the controller.

This property is required.

#dma-cells

int

Number of items to expect in a DMA specifier

This property is required.

Constant value: 3

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-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, request, config