summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/usb3503.h
diff options
context:
space:
mode:
authorDongjin Kim <tobetter@gmail.com>2012-12-08 05:18:44 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-11 12:12:07 -0800
commit6a099c63650e50ebf7d1259b859a3d230aec4207 (patch)
tree84b647fd6f1dc55bdb039b59d7c4f3710f858ee6 /include/linux/platform_data/usb3503.h
parent102ee001912f67a7701f26a56ef2bcf84fc78028 (diff)
USB: misc: Add USB3503 High-Speed Hub Controller
This patch adds new driver of SMSC USB3503 USB 2.0 hub controller with HSIC upstream connectivity and three USB 2.0 downstream ports. The specification can be found from 'http://www.smsc.com/index.php?tid=295&pid=325'. The current version have been tested very basic features switching the modes, HUB-MODE and STANDBY-MODE. Signed-off-by: Dongjin Kim <tobetter@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data/usb3503.h')
-rw-r--r--include/linux/platform_data/usb3503.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/platform_data/usb3503.h b/include/linux/platform_data/usb3503.h
new file mode 100644
index 000000000000..85dcc709f7e9
--- /dev/null
+++ b/include/linux/platform_data/usb3503.h
@@ -0,0 +1,19 @@
+#ifndef __USB3503_H__
+#define __USB3503_H__
+
+#define USB3503_I2C_NAME "usb3503"
+
+enum usb3503_mode {
+ USB3503_MODE_UNKNOWN,
+ USB3503_MODE_HUB,
+ USB3503_MODE_STANDBY,
+};
+
+struct usb3503_platform_data {
+ enum usb3503_mode initial_mode;
+ int gpio_intn;
+ int gpio_connect;
+ int gpio_reset;
+};
+
+#endif