]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
usb: renesas_usbhs: add support for RZ/G2E
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Fri, 14 Dec 2018 08:27:03 +0000 (08:27 +0000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
BugLink: https://bugs.launchpad.net/bugs/1837664
[ Upstream commit 1d6e81a288e28d8d0e38e0501a324216f79bba35 ]

HS-USB found in RZ/G2E (a.k.a. r8a774c0) is very similar to the
one found in R-Car E3 (a.k.a. r8a77990), as it needs to release
the PLL reset by the UGCTRL register like R-Car E3, therefore add
r8a774c0 support in a similar fashion to what was done for the
r8a77990.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/usb/renesas_usbhs/common.c

index 56079bb6759ad7a966cb0dd36a6c2c4d2f2e719d..2e8b224f11db9a394a06cb55ba443fcb927841e2 100644 (file)
@@ -456,6 +456,10 @@ static int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev)
  *             platform functions
  */
 static const struct of_device_id usbhs_of_match[] = {
+       {
+               .compatible = "renesas,usbhs-r8a774c0",
+               .data = (void *)USBHS_TYPE_RCAR_GEN3_WITH_PLL,
+       },
        {
                .compatible = "renesas,usbhs-r8a7790",
                .data = (void *)USBHS_TYPE_RCAR_GEN2,