summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
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 /include/linux/usb
parent7580862b3e80af9b90dd12daeedee63e3f5683c2 (diff)
downloadlinux-stable-de18757e272d0e948bfa3e083a1771887f719c05.tar.gz
linux-stable-de18757e272d0e948bfa3e083a1771887f719c05.tar.bz2
linux-stable-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 'include/linux/usb')
-rw-r--r--include/linux/usb/renesas_usbhs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/renesas_usbhs.h b/include/linux/usb/renesas_usbhs.h
index 4db191fe8c2c..00a47d058d83 100644
--- a/include/linux/usb/renesas_usbhs.h
+++ b/include/linux/usb/renesas_usbhs.h
@@ -184,6 +184,7 @@ struct renesas_usbhs_driver_param {
};
#define USBHS_TYPE_RCAR_GEN2 1
+#define USBHS_TYPE_RCAR_GEN3 2
/*
* option: