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)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 2 Oct 2018 07:47:07 +0000 (10:47 +0300)
commitc6fe39356a09fc23fce37cf8980704d9e180d94f
tree6c68a606e768fb6db2d79f027e197e33b34620f1
parentce66ab1df6707cb5aeed0a0706ce69002aeb86ca
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.

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/renesas_usbhs/rcar3.c