linux_dsm_epyc7002/include/linux/platform_data/mmp_dma.h
Robert Jarzmik 420c0117db dmaengine: pxa: use a dma slave map
In order to remove the specific knowledge of the dma mapping from PXA
drivers, add a default slave map for pxa architectures.

This won't impact MMP architecture, but is aimed only at all PXA boards.

This is the first step, and once all drivers are converted,
pxad_filter_fn() will be made static, and the DMA resources removed from
device.c.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Vinod Koul <vkoul@kernel.org>
2018-06-18 21:28:44 +02:00

25 lines
502 B
C

/*
* MMP Platform DMA Management
*
* Copyright (c) 2011 Marvell Semiconductors Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#ifndef MMP_DMA_H
#define MMP_DMA_H
struct dma_slave_map;
struct mmp_dma_platdata {
int dma_channels;
int nb_requestors;
int slave_map_cnt;
const struct dma_slave_map *slave_map;
};
#endif /* MMP_DMA_H */