summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason <r64343@freescale.com>2010-01-26 22:39:46 +0800
committerFrank Li <Frank.Li@freescale.com>2010-03-16 12:24:36 +0800
commit6459753d520bc313a831b0609e03ce1d7f3ecf30 (patch)
treec50bc20219929b168853b030623188e386128e20 /include
parent270c67621c162c54ebd92aa6f69db0383c8cf0e9 (diff)
ENGR00117744-2 i.MX28 EVK ENET(Single) support
FEC driver support for i.MX28 Signed-off-by:Jason Liu <r64343@freescale.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