phy: sun4i-usb: Add id_detect and vbus_detect ops
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 7 May 2018 07:33:27 +0000 (13:03 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 May 2018 11:10:43 +0000 (16:40 +0530)
commit129c45c72872cf82dde44024864a517267aed68a
tree99722441279923eea438099c0a5e8d6d67c076d9
parent6768594326eb358de06772febc06f87fea0a9483
phy: sun4i-usb: Add id_detect and vbus_detect ops

ID and VBUS detection code require when musb changing
between Host and/or Peripheral modes.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
drivers/phy/allwinner/phy-sun4i-usb.c
include/phy-sun4i-usb.h [new file with mode: 0644]