summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2015-09-29 18:21:19 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 10:59:03 +0100
commit5119dd1e3f7e84073dea4d53322f2fd99f0d0d8b (patch)
treeaabc221001d823bf1adb08e2b59134160dcb9850 /drivers/usb
parentf975c5cdb53c1cfef18c28aaae8385e5d16bc104 (diff)
downloadlinux-stable-5119dd1e3f7e84073dea4d53322f2fd99f0d0d8b.tar.gz
linux-stable-5119dd1e3f7e84073dea4d53322f2fd99f0d0d8b.tar.bz2
linux-stable-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);