The disabled clk API returns -ENOSYS unlike the reset API returning -ENOTSUPP.
Change-Id: I4473e78c1ebc5c945515694b4041b22a48f36d34
Fixes: ca7fdc8b1267 ("usb: host: Add simple of glue driver for DWC3 USB Controllers integration")
Reported-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 38276090ee7fda6b31cac638d8c5f4fb61f57b0b)
Add the compatibility with "ti,dwc3" and enable it by default if DM_USB
is enabled.
Change-Id: Ic0a89dad93c6ec22102a0475b802da80e76fbb09
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit cc73ba97c008e96df5799dc37acbb04344fb3ac6)
This is a port of the dwc3-of-simple driver from Linux to enable/deassert
clock and resets of a simple DWC3 Controller HW glue.
Change-Id: I9fa64dcd401e3946a1924ef249b64f419f76fe0c
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit ca7fdc8b1267ad0189060c853502761086c8d74a)