Commit Graph

4 Commits

Author SHA1 Message Date
Dov Levenglick ef37df7849 usb: dwc: dbm: indicates coming out of L1 with an interrupt
The DBM, in some versions, indicates via hardware interrupt
that a packet has been received on the DL (IN) path and that
the software should take the DWC controller out of L1 into L0.

Change-Id: I13180cffbe7040760842ebd345749d2a469adee2
Signed-off-by: Dov Levenglick <dovl@codeaurora.org>
2014-05-19 00:54:06 -07:00
Bar Weiner b727178ad4 usb: dwc3: dbm: fix ep reset based on usb ep num
Making the proper distinction between ep_reset function
calls that are made from within the dbm driver (in which
case the dbm ep number is provided) vs. when the call
is made from the dwc3 driver (in which case the usb ep
number is provided).

Change-Id: I0950a324da44c8abe780ad0a7b1095143a294a0b
Signed-off-by: Dov Levenglick <dovl@codeaurora.org>
Signed-off-by: Bar Weiner <bweiner@codeaurora.org>
2014-03-04 19:18:17 +02:00
Dov Levenglick 07ce836f3a usb: dwc3-msm: add support for ep specific-reset
Some dbm implementations require that after going
through a Low Power Mode (lpm) suspend flow - the
dbm ep be reset prior to resuming.
This patch implements and exposes this functionality.

Change-Id: I348a2c61ca159ef8b5a14fac3465d777bd4217b4
Signed-off-by: Dov Levenglick <dovl@codeaurora.org>
2014-02-17 11:09:51 +02:00
Bar Weiner 3bc20703e5 usb: dwc3-msm: DBM refactoring
Refactoring of DBM code to allow easy support for future
DBM versions.
All DBM specific operation are now defined in dbm.h,
and implemented in a dbm specific version module.

Note that only a single instance of DBM is currently
supported.

Change-Id: I751300240951a84a42358c3b8b5222e73c537653
Signed-off-by: Bar Weiner <bweiner@codeaurora.org>
2013-12-31 13:34:54 +02:00