OSDN Git Service

usb: dwc3: of-simple: add support for shared and pulsed reset lines
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 11 Feb 2018 21:15:16 +0000 (22:15 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Mar 2018 08:47:50 +0000 (10:47 +0200)
commitff0a632f08759e31f45b06fee27bc71c826c6b11
tree4977c0f76024b77cd9c52567ec60f83804ebf324
parenta5d411962c444377d0de0dc89502dbaf2e2a34e2
usb: dwc3: of-simple: add support for shared and pulsed reset lines

Some SoCs (such as Amlogic Meson GXL for example) share the reset line
with other components (in case of the Meson GXL example there's a shared
reset line between the USB2 PHYs, USB3 PHYs and the dwc3 controller).
Additionally SoC implementations may prefer a reset pulse over level
resets.

For now this falls back to the old defaults, which are:
- reset lines are exclusive
- level resets are being used

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Yixun Lan <yixun.lan@amlogic.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-of-simple.c