summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorIlya Yanok <ilya.yanok@cogentembedded.com>2012-11-06 13:48:22 +0000
committerMarek Vasut <marex@denx.de>2012-11-20 00:16:06 +0100
commit37931f02c291a097f3012e66a1de440f6ed00753 (patch)
treeed27dc2c7dece19c3d20edcee93b33c2d7a76809 /arch/arm
parenteb81955bf0e34aeb33930cd4b2f63aa05c791fef (diff)
downloadu-boot-imx-37931f02c291a097f3012e66a1de440f6ed00753.zip
u-boot-imx-37931f02c291a097f3012e66a1de440f6ed00753.tar.gz
u-boot-imx-37931f02c291a097f3012e66a1de440f6ed00753.tar.bz2
musb-new: dsps backend driver
Backend driver for MUSB OTG controllers found on TI AM33xx and TI81xx SoCs (tested with AM33xx only). Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/omap_musb.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/include/asm/omap_musb.h b/arch/arm/include/asm/omap_musb.h
new file mode 100644
index 0000000..0081a68
--- /dev/null
+++ b/arch/arm/include/asm/omap_musb.h
@@ -0,0 +1,25 @@
+/*
+ * Board data structure for musb gadget on OMAPs
+ *
+ * Copyright (C) 2012, Ilya Yanok <ilya.yanok@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __ASM_ARM_OMAP_MUSB_H
+#define __ASM_ARM_OMAP_MUSB_H
+
+extern struct musb_platform_ops musb_dsps_ops;
+
+struct omap_musb_board_data {
+ void (*set_phy_power)(u8 on);
+};
+#endif /* __ASM_ARM_OMAP_MUSB_H */