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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 13:07:59 +0000 (14:07 +0100)
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>
drivers/usb/renesas_usbhs/common.c

index 2ff7991f451711b78a9cb45c680019e13080571e..249fbee97f3f354c4780c75e0d70d4d10a6b3365 100644 (file)
@@ -539,6 +539,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,