summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/asoc-ux500-msp.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-22 01:51:06 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-04-08 15:59:22 +0400
commitab0fc6ce4825311e1842bb3c46611d0f02d189df (patch)
tree95230cf2a57d3e175089ba12e613b54b7aee58da /include/linux/platform_data/asoc-ux500-msp.h
parent9b819060d349e2247c471d8f055c91a597560da0 (diff)
downloadlinux-ab0fc6ce4825311e1842bb3c46611d0f02d189df.tar.xz
ARM: ux500: move mach/msp.h to <linux/platform_data/*>
This header file only contains platform data structure definitions, so it's straightforward to move. Signed-off-by: Arnd Bergmann <arnd@arndb.de> [Delete one include rather than move it] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/platform_data/asoc-ux500-msp.h')
-rw-r--r--include/linux/platform_data/asoc-ux500-msp.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/platform_data/asoc-ux500-msp.h b/include/linux/platform_data/asoc-ux500-msp.h
new file mode 100644
index 000000000000..9991aea3d577
--- /dev/null
+++ b/include/linux/platform_data/asoc-ux500-msp.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) ST-Ericsson SA 2010
+ *
+ * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
+ * License terms: GNU General Public License (GPL), version 2.
+ */
+
+#ifndef __MSP_H
+#define __MSP_H
+
+#include <linux/platform_data/dma-ste-dma40.h>
+
+enum msp_i2s_id {
+ MSP_I2S_0 = 0,
+ MSP_I2S_1,
+ MSP_I2S_2,
+ MSP_I2S_3,
+};
+
+/* Platform data structure for a MSP I2S-device */
+struct msp_i2s_platform_data {
+ enum msp_i2s_id id;
+ struct stedma40_chan_cfg *msp_i2s_dma_rx;
+ struct stedma40_chan_cfg *msp_i2s_dma_tx;
+};
+
+#endif