commit | 77172a1f886a696bab5b4d3006ccf55ee4b1bfe5 | [log] [tgz] |
---|---|---|
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | Thu Mar 30 11:16:04 2017 +0900 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Apr 11 10:58:23 2017 +0300 |
tree | 6c657cfa82832ea70785e3c745414c14ac8e0fa4 | |
parent | e92634cd4d37d5a2ea2fb0d55d25d50bbba1e8e0 [diff] |
usb: gadget: udc: renesas_usb3: add USB ID signal monitoring This usb 3.0 peripheral controller has a register (USB_OTG_STA) to monitor the USB ID signal. So, this patch adds the ID signal monitoring to change the mode to host (A-Host) or peripheral (B-Peripheral). This patch also removes hardcoded setting as B-Peripheral mode. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>