Name

of_dma_configure — Setup DMA configuration

Synopsis

void of_dma_configure (struct device * dev,
 struct device_node * np);
 

Arguments

dev

Device to apply DMA configuration

np

Pointer to OF node containing DMA configuration

Description

Try to get devices's DMA configuration from DT and update it accordingly.

If platform code needs to use its own special DMA configuration, it can use a platform bus notifier and handle BUS_NOTIFY_ADD_DEVICE events to fix up DMA configuration.