summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason <r64343@freescale.com>2010-01-26 22:39:46 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-25 11:13:32 +0200
commit018e46003434997ab3b9a9515185faa0ba762018 (patch)
tree8868be63e53fc97930113cd33b411a9a21633a68 /include
parente90da503e6f2a81b7b42666f8544b197e5b489c8 (diff)
ENGR00117744-2 i.MX28 EVK ENET(Single) support
FEC driver support for i.MX28 Signed-off-by:Jason Liu <r64343@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fec.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/fec.h b/include/linux/fec.h
new file mode 100644
index 000000000000..2ad61317d32b
--- /dev/null
+++ b/include/linux/fec.h
@@ -0,0 +1,25 @@
+/* include/linux/fec.h
+ *
+ * Copyright (c) 2009 Orex Computed Radiography
+ * Copyright (C) 2009-2010 Freescale Semiconductor, Inc.
+ * Baruch Siach <baruch@tkos.co.il>
+ *
+ * Header file for the FEC platform data
+ *
+ * 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 __LINUX_FEC_H__
+#define __LINUX_FEC_H__
+
+#include <linux/phy.h>
+
+struct fec_platform_data {
+ phy_interface_t phy;
+ int (*init)(void);
+ int (*uninit)(void);
+ struct regulator *vddio_reg;
+};
+
+#endif