summaryrefslogtreecommitdiff
path: root/include/linux/usb/renesas_usbhs.h
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2017-10-03 20:09:14 +0900
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-10-19 10:38:07 +0300
commit0f38672c629b79fa2b929d2c391bc063a08279eb (patch)
tree307e04ee8f4262d73579e8bb0bb0817c825c6e2d /include/linux/usb/renesas_usbhs.h
parenta877b8e553fd2808e8693c75e0d945f413ccf5b6 (diff)
usb: renesas_usbhs: add support for R-Car D3
This patch adds support for R-Car D3. This SoC needs to release the PLL reset by the UGCTRL register. So, since this is not the same as other R-Car Gen3 SoCs, this patch adds a new type as "USBHS_TYPE_RCAR_GEN3_WITH_PLL". Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'include/linux/usb/renesas_usbhs.h')
-rw-r--r--include/linux/usb/renesas_usbhs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/usb/renesas_usbhs.h b/include/linux/usb/renesas_usbhs.h
index 00a47d058d83..d2f41e4dd7a8 100644
--- a/include/linux/usb/renesas_usbhs.h
+++ b/include/linux/usb/renesas_usbhs.h
@@ -183,8 +183,9 @@ struct renesas_usbhs_driver_param {
#define USBHS_USB_DMAC_XFER_SIZE 32 /* hardcode the xfer size */
};
-#define USBHS_TYPE_RCAR_GEN2 1
-#define USBHS_TYPE_RCAR_GEN3 2
+#define USBHS_TYPE_RCAR_GEN2 1
+#define USBHS_TYPE_RCAR_GEN3 2
+#define USBHS_TYPE_RCAR_GEN3_WITH_PLL 3
/*
* option: