summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat/udc-hs.h
diff options
context:
space:
mode:
authorBen Dooks2010-01-20 03:09:28 +0100
committerBen Dooks2010-01-21 05:45:51 +0100
commit6890556c140469622497bea98cf49bf93f92f922 (patch)
tree67bf70c1bc46e02b77f2be9e659bff57bc2e844f /arch/arm/plat-samsung/include/plat/udc-hs.h
parentARM: Merge next-samsung-s5p6440-iodec (diff)
downloadkernel-qcow2-linux-6890556c140469622497bea98cf49bf93f92f922.tar.gz
kernel-qcow2-linux-6890556c140469622497bea98cf49bf93f92f922.tar.xz
kernel-qcow2-linux-6890556c140469622497bea98cf49bf93f92f922.zip
ARM: SAMSUNG: Move more support into plat-samsung
Move header files which are not likely to be touched in any further support addition out of plat-s3c's include directory into plat-samsung. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/udc-hs.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/udc-hs.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/udc-hs.h b/arch/arm/plat-samsung/include/plat/udc-hs.h
new file mode 100644
index 000000000000..dd04db043109
--- /dev/null
+++ b/arch/arm/plat-samsung/include/plat/udc-hs.h
@@ -0,0 +1,29 @@
+/* arch/arm/plat-s3c/include/plat/udc-hs.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * Ben Dooks <ben@simtec.co.uk>
+ * http://armlinux.simtec.co.uk/
+ *
+ * S3C USB2.0 High-speed / OtG platform information
+ *
+ * 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.
+*/
+
+enum s3c_hostg_dmamode {
+ S3C_HSOTG_DMA_NONE, /* do not use DMA at-all */
+ S3C_HSOTG_DMA_ONLY, /* always use DMA */
+ S3C_HSOTG_DMA_DRV, /* DMA is chosen by driver */
+};
+
+/**
+ * struct s3c_hsotg_plat - platform data for high-speed otg/udc
+ * @dma: Whether to use DMA or not.
+ * @is_osc: The clock source is an oscillator, not a crystal
+ */
+struct s3c_hsotg_plat {
+ enum s3c_hostg_dmamode dma;
+ unsigned int is_osc : 1;
+};