summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorYoshihiro Shimoda2015-09-29 11:21:19 +0200
committerGreg Kroah-Hartman2015-10-04 11:59:03 +0200
commit5119dd1e3f7e84073dea4d53322f2fd99f0d0d8b (patch)
treeaabc221001d823bf1adb08e2b59134160dcb9850 /drivers/usb
parentusb: renesas_usbhs: fix build warning if 64-bit architecture (diff)
downloadkernel-qcow2-linux-5119dd1e3f7e84073dea4d53322f2fd99f0d0d8b.tar.gz
kernel-qcow2-linux-5119dd1e3f7e84073dea4d53322f2fd99f0d0d8b.tar.xz
kernel-qcow2-linux-5119dd1e3f7e84073dea4d53322f2fd99f0d0d8b.zip
usb: renesas_usbhs: Add support for R-Car H3
This patch adds a compatible string to support for R-Car H3. Since the HS-USB controller of R-Car H3 is almost the same specification with R-Car Gen2 (these have 16 pipes and usb-dmac), this patch sets the "type" of renesas_usbhs_driver_param to USBHS_TYPE_RCAR_GEN2. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/renesas_usbhs/common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c
index 0ce398c5482e..d82fa36c3465 100644
--- a/drivers/usb/renesas_usbhs/common.c
+++ b/drivers/usb/renesas_usbhs/common.c
@@ -476,6 +476,11 @@ static const struct of_device_id usbhs_of_match[] = {
.compatible = "renesas,usbhs-r8a7794",
.data = (void *)USBHS_TYPE_RCAR_GEN2,
},
+ {
+ /* Gen3 is compatible with Gen2 */
+ .compatible = "renesas,usbhs-r8a7795",
+ .data = (void *)USBHS_TYPE_RCAR_GEN2,
+ },
{ },
};
MODULE_DEVICE_TABLE(of, usbhs_of_match);