mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 16:40:55 +07:00
8c92013643
Rewrite mxs_dma_is_apbh and mxs_dma_is_apbx in order to support other SoCs like imx6q and reform the platform_device_id for the better further dt support. Cc: Dan Williams <dan.j.williams@intel.com> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Huang Shijie <b32955@freescale.com> Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Vinod Koul <vinod.koul@intel.com>
21 lines
527 B
C
21 lines
527 B
C
/*
|
|
* Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.
|
|
*
|
|
* 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 __MACH_MXS_DMA_H__
|
|
#define __MACH_MXS_DMA_H__
|
|
|
|
#include <linux/dmaengine.h>
|
|
|
|
struct mxs_dma_data {
|
|
int chan_irq;
|
|
};
|
|
|
|
extern int mxs_dma_is_apbh(struct dma_chan *chan);
|
|
extern int mxs_dma_is_apbx(struct dma_chan *chan);
|
|
#endif /* __MACH_MXS_DMA_H__ */
|