]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: renesas_usbhs: rcar3: Use OTG mode for R-Car D3
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 21 Sep 2018 12:26:30 +0000 (21:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 13:11:08 +0000 (15:11 +0200)
commit6b983aca28bbd4ac18fe42fe2b2dc14a9ce21e3b
tree8221c9e0e055ddfaa3ed1ee15e44897dc9a63021
parenteb757fff08b8c57c22643c65add0dc1a570d1342
usb: renesas_usbhs: rcar3: Use OTG mode for R-Car D3

Since R-Car D3 can use OTG mode, this patch changes the UGCTRL2
value to UGCTRL2_USB0SEL_OTG and UGCTRL2_VBUSSEL like other R-Car
Gen3 SoCs.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/renesas_usbhs/rcar3.c