summaryrefslogtreecommitdiffstats
path: root/include/linux/usb/m66592.h
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2011-07-07 09:58:43 +0900
committerFelipe Balbi <balbi@ti.com>2011-07-09 01:08:39 +0300
commitbb59dbff4e5fb0ac14e3ee47d3f688490f128155 (patch)
tree1bf92ae02fd2e0b9a29c09a1229216285a6415b1 /include/linux/usb/m66592.h
parent8ca137562a79f573f822f5a84a4e56a0d8cc6792 (diff)
downloadop-kernel-dev-bb59dbff4e5fb0ac14e3ee47d3f688490f128155.zip
op-kernel-dev-bb59dbff4e5fb0ac14e3ee47d3f688490f128155.tar.gz
usb: gadget: m66592-udc: add function for external controller
M66592 has the pin of WR0 and WR1. So, if one write-pin of CPU connects to the pins, we have to change the setting of FIFOSEL register in the controller. If we don't change the setting, the controller cannot send the data of odd length. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb/m66592.h')
-rw-r--r--include/linux/usb/m66592.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/m66592.h b/include/linux/usb/m66592.h
index cda9625..a4ba31a 100644
--- a/include/linux/usb/m66592.h
+++ b/include/linux/usb/m66592.h
@@ -38,6 +38,8 @@ struct m66592_platdata {
/* (external controller only) one = 3.3V, zero = 1.5V */
unsigned vif:1;
+ /* (external controller only) set one = WR0_N shorted to WR1_N */
+ unsigned wr0_shorted_to_wr1:1;
};
#endif /* __LINUX_USB_M66592_H */
OpenPOWER on IntegriCloud