From fab3357916096d4c61a5e2fe5d28f5aeb78c6957 Mon Sep 17 00:00:00 2001 From: Xu Ziyuan Date: Thu, 14 Jul 2016 14:52:32 +0800 Subject: usb: rockchip-phy: implement USB2.0 phy control So far, Rockchip SoCs have two kinds of USB2.0 phy, such as Synopsys and Innosilicon. This patch applys dwc2 usb driver framework to implement phy_init() and phy_off() methods for Synopsys phy on Rockchip platform. Signed-off-by: Ziyuan Xu Acked-by: Simon Glass --- include/usb/dwc2_udc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/usb/dwc2_udc.h') diff --git a/include/usb/dwc2_udc.h b/include/usb/dwc2_udc.h index 302e9a3..3ce43f8 100644 --- a/include/usb/dwc2_udc.h +++ b/include/usb/dwc2_udc.h @@ -12,6 +12,8 @@ #define PHY0_SLEEP (1 << 5) struct dwc2_plat_otg_data { + void *priv; + int phy_of_node; int (*phy_control)(int on); unsigned int regs_phy; unsigned int regs_otg; -- cgit v1.1