mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
dma: ti: add driver to K3 UDMA
The UDMA-P is intended to perform similar (but significantly upgraded) functions as the packet-oriented DMA used on previous SoC devices. The UDMA-P module supports the transmission and reception of various packet types. The UDMA-P also supports acting as both a UTC and UDMA-C for its internal channels. Channels in the UDMA-P can be configured to be either Packet-Based or Third-Party channels on a channel by channel basis. The initial driver supports: - MEM_TO_MEM (TR mode) - DEV_TO_MEM (Packet mode) - MEM_TO_DEV (Packet mode) Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Vignesh R <vigneshr@ti.com>
This commit is contained in:
24
include/linux/soc/ti/ti-udma.h
Normal file
24
include/linux/soc/ti/ti-udma.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com
|
||||
* Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
|
||||
*/
|
||||
|
||||
#ifndef __TI_UDMA_H
|
||||
#define __TI_UDMA_H
|
||||
|
||||
/**
|
||||
* struct ti_udma_drv_packet_data - TI UDMA transfer specific data
|
||||
*
|
||||
* @pkt_type: Packet Type - specific for each DMA client HW
|
||||
* @dest_tag: Destination tag The source pointer.
|
||||
*
|
||||
* TI UDMA transfer specific data passed as part of DMA transfer to
|
||||
* the DMA client HW in UDMA descriptors.
|
||||
*/
|
||||
struct ti_udma_drv_packet_data {
|
||||
u32 pkt_type;
|
||||
u32 dest_tag;
|
||||
};
|
||||
|
||||
#endif /* __TI_UDMA_H */
|
Reference in New Issue
Block a user