summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2018-09-12 11:28:36 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-27 20:36:22 +0200
commit7f889330d0aedfef7696ed9de59ed67368f2d0eb (patch)
tree8f9c86adf73700a5c0f0675e93034e82317fa332 /include/linux/platform_data
parent713c8f21703f85e777522506d0651ab72363fd3a (diff)
usb: misc: usb3503: add the usb3803 variant
While the usb3503 variant uses a HSIC connection to upstream, the usb3803 uses a regular USB connection and provides a bypass mode which connects the upstream port with downstream port 3. This adds an additional control gpio to the configuration which allows moving away from the bypass mode to either standby or hub mode once the driver is instantiated. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit e7812f55781bd9453a231d104a2c6c520491e2e4) (cherry picked from commit 8662817b83bee3c30336f104608752fcb652f5c4) (cherry picked from commit a13c0df11735a5964ceec0d72e17226773bcc01f)
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/usb3503.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/usb3503.h b/include/linux/platform_data/usb3503.h
index e049d51c1353..df1d0f48ca75 100644
--- a/include/linux/platform_data/usb3503.h
+++ b/include/linux/platform_data/usb3503.h
@@ -17,6 +17,7 @@ enum usb3503_mode {
struct usb3503_platform_data {
enum usb3503_mode initial_mode;
u8 port_off_mask;
+ int gpio_bypass;
int gpio_intn;
int gpio_connect;
int gpio_reset;