From: marex@denx.de (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/8] MXS: Add data shared between imx-otg and EHCI driver
Date: Tue, 15 May 2012 10:23:35 +0200 [thread overview]
Message-ID: <1337070219-3630-5-git-send-email-marex@denx.de> (raw)
In-Reply-To: <1337070219-3630-1-git-send-email-marex@denx.de>
This patch adds common data shared between the MXS EHCI HCD driver,
the MXS USB Gadget driver and the imx-otg driver. These data allow
passing clock and memory stuff from imx-otg driver into the
host/gadget driver.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chen Peter-B29397 <B29397@freescale.com>
Cc: Detlev Zundel <dzu@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Li Frank-B20596 <B20596@freescale.com>
Cc: Linux USB <linux-usb@vger.kernel.org>
Cc: Liu JunJie-B08287 <B08287@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Shi Make-B15407 <B15407@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Subodh Nijsure <snijsure@grid-net.com>
Cc: Wolfgang Denk <wd@denx.de>
---
include/linux/usb/mxs-usb.h | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 include/linux/usb/mxs-usb.h
diff --git a/include/linux/usb/mxs-usb.h b/include/linux/usb/mxs-usb.h
new file mode 100644
index 0000000..2678700
--- /dev/null
+++ b/include/linux/usb/mxs-usb.h
@@ -0,0 +1,39 @@
+/*
+ * include/linux/usb/mxs-usb.h
+ *
+ * Freescale i.MX USB driver shared data.
+ *
+ * Copyright (C) 2012 Marek Vasut <marex@denx.de>
+ * on behalf of DENX Software Engineering GmbH
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef __INCLUDE_LINUX_USB_MXS_USB_H__
+#define __INCLUDE_LINUX_USB_MXS_USB_H__
+
+#include <linux/types.h>
+#include <linux/usb/otg.h>
+
+struct mxs_usb_platform_data {
+ uint32_t gpio_vbus;
+ bool gpio_vbus_inverted;
+};
+
+struct mxs_ci13xxx_phy_notify {
+ bool discon;
+};
+
+#endif /* __INCLUDE_LINUX_USB_MXS_USB_H__ */
--
1.7.10
next prev parent reply other threads:[~2012-05-15 8:23 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-15 8:23 [RFC PATCH 0/8 V8] MXS: Add i.MX28 USB Host driver Marek Vasut
2012-05-15 8:23 ` [PATCH 1/8] MXS: Make clk_disable return integer Marek Vasut
2012-05-16 0:55 ` Richard Zhao
2012-05-16 1:01 ` Marek Vasut
2012-05-15 8:23 ` [PATCH 2/8] MXS: Add USB EHCI and USB PHY clock handling Marek Vasut
2012-05-16 0:56 ` Richard Zhao
2012-05-15 8:23 ` [PATCH 3/8] MXS: Fixup i.MX233 USB base address name Marek Vasut
2012-05-16 0:58 ` Richard Zhao
2012-05-16 1:02 ` Marek Vasut
2012-05-15 8:23 ` Marek Vasut [this message]
2012-05-16 1:00 ` [PATCH 4/8] MXS: Add data shared between imx-otg and EHCI driver Richard Zhao
2012-05-15 8:23 ` [PATCH 5/8] MXS: Add USB PHY driver Marek Vasut
2012-05-16 3:33 ` Richard Zhao
2012-05-16 4:30 ` Marek Vasut
2012-05-16 5:06 ` Richard Zhao
2012-05-16 7:18 ` Richard Zhao
2012-05-16 13:36 ` Marek Vasut
2012-05-16 13:35 ` Marek Vasut
2012-05-16 10:35 ` Peter Chen
2012-05-16 13:37 ` Marek Vasut
2012-05-15 8:23 ` [PATCH 6/8] CI13xxx: Add i.MX233/i.MX28 binding code Marek Vasut
2012-05-16 8:36 ` Felipe Balbi
2012-05-16 13:41 ` Marek Vasut
2012-05-18 11:34 ` Felipe Balbi
2012-05-15 8:23 ` [PATCH 7/8] MXS: Add platform registration hooks for USB EHCI Marek Vasut
2012-05-15 8:23 ` [PATCH 8/8] MXS: Enable USB on M28EVK Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337070219-3630-5-git-send-email-marex@denx.de \
--to=marex@denx.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).