aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs/rcar3.h
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2016-01-07 18:18:13 +0900
committerFelipe Balbi <balbi@kernel.org>2016-03-04 15:14:28 +0200
commitde18757e272d0e948bfa3e083a1771887f719c05 (patch)
treec5b2bd79980a70a5e872b641fe0ff271b69bb60e /drivers/usb/renesas_usbhs/rcar3.h
parentusb: dwc3: Enable SuperSpeedPlus (diff)
downloadlinux-dev-de18757e272d0e948bfa3e083a1771887f719c05.tar.xz
linux-dev-de18757e272d0e948bfa3e083a1771887f719c05.zip
usb: renesas_usbhs: add R-Car Gen3 power control
Since the usb2 phy driver for gen3 (phy-rcar-gen3-usb2) cannot access LPSTS and UGCTRL2 registers in the HSUSB module, this driver have to initialize the registers. So, this patch adds such handling code into rcar3.c. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/renesas_usbhs/rcar3.h')
-rw-r--r--drivers/usb/renesas_usbhs/rcar3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/renesas_usbhs/rcar3.h b/drivers/usb/renesas_usbhs/rcar3.h
new file mode 100644
index 000000000000..5f850b23ff18
--- /dev/null
+++ b/drivers/usb/renesas_usbhs/rcar3.h
@@ -0,0 +1,3 @@
+#include "common.h"
+
+extern const struct renesas_usbhs_platform_callback usbhs_rcar3_ops;