OSDN Git Service

usb: dwc3: of-simple: Add support to get resets for the device
authorVivek Gautam <vivek.gautam@codeaurora.org>
Thu, 19 Oct 2017 11:47:43 +0000 (13:47 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 19 Oct 2017 12:23:14 +0000 (15:23 +0300)
commit06c47e6286d5afdd7b2e7e3c207f6906b3be3d4d
tree62c79c3ebbfb0e4f8ff312504b9925256df10c59
parentd6d9c2a3eac279d0bf406573706b7e7cf9d7fdda
usb: dwc3: of-simple: Add support to get resets for the device

Add support to get a list of resets available for the device.
These resets must be kept de-asserted until the device is
in use.

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
[p.zabel@pengutronix.de: switch to hidden reset control array]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-of-simple.c