usb: dwc3: of-simple: Add support to get resets for the device
authorVivek Gautam <[email protected]>
Thu, 19 Oct 2017 11:47:43 +0000 (13:47 +0200)
committerFelipe Balbi <[email protected]>
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 <[email protected]>
[[email protected]: switch to hidden reset control array]
Signed-off-by: Philipp Zabel <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
drivers/usb/dwc3/dwc3-of-simple.c