rk3026: V86 not need OTG_DRV_VBUS mux GPIO3_C1 to GPIO
authorlyz <lyz@rock-chips.com>
Mon, 12 Aug 2013 02:52:08 +0000 (10:52 +0800)
committerlyz <lyz@rock-chips.com>
Mon, 12 Aug 2013 02:52:08 +0000 (10:52 +0800)
drivers/usb/dwc_otg/usbdev_rk3026.c

index f68efb9fda9a52cffbaf8b7a84bf0b9fe93052c8..7ae6784645751baefcd6115d74b4f19876901709 100755 (executable)
@@ -114,7 +114,11 @@ void usb20otg_hw_init(void)
 #ifdef CONFIG_RK_CONFIG
     otg_drv_init(0);
 #else
-    iomux_set(GPIO3_C1|0x01);  
+#ifdef CONFIG_ARCH_RK3026_86V
+
+#else
+    iomux_set(OTG_DRV_VBUS);
+#endif
 #endif
 }
 void usb20otg_phy_suspend(void* pdata, int suspend)