summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/dma-hsu.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-02-23 17:24:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-07 05:23:02 +0300
commit2b49e0c56741fca538176f66ed3c8d16ce4fccd8 (patch)
treed2246e177136d99847de6b2da31ded7efa84e2f0 /include/linux/platform_data/dma-hsu.h
parent84e0185efaf8de931e1aab0687d8f8acd186a1c0 (diff)
downloadlinux-2b49e0c56741fca538176f66ed3c8d16ce4fccd8.tar.xz
dmaengine: append hsu DMA driver
The HSU DMA is developed to support High Speed UART controllers found in particular on Intel MID platforms such as Intel Medfield. The existing implementation is tighten to the drivers/tty/serial/mfd.c driver and has a lot of disadvantages. Besides that we would like to get rid of the old HS UART driver in regarding to extending the 8250 which supports generic DMAEngine API. That's why the current driver has been developed. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data/dma-hsu.h')
-rw-r--r--include/linux/platform_data/dma-hsu.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/platform_data/dma-hsu.h b/include/linux/platform_data/dma-hsu.h
new file mode 100644
index 000000000000..8a1f6a4920b2
--- /dev/null
+++ b/include/linux/platform_data/dma-hsu.h
@@ -0,0 +1,25 @@
+/*
+ * Driver for the High Speed UART DMA
+ *
+ * Copyright (C) 2015 Intel Corporation
+ *
+ * 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 _PLATFORM_DATA_DMA_HSU_H
+#define _PLATFORM_DATA_DMA_HSU_H
+
+#include <linux/device.h>
+
+struct hsu_dma_slave {
+ struct device *dma_dev;
+ int chan_id;
+};
+
+struct hsu_dma_platform_data {
+ unsigned short nr_channels;
+};
+
+#endif /* _PLATFORM_DATA_DMA_HSU_H */