From: lyz Date: Tue, 12 Mar 2013 02:16:06 +0000 (+0800) Subject: USB: support RK2928B for usb host and usb otg X-Git-Tag: firefly_0821_release~7428 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ab09f9d7e431fccaac0b7b0e2361dd79eaf03902;p=firefly-linux-kernel-4.4.55.git USB: support RK2928B for usb host and usb otg --- diff --git a/drivers/usb/dwc_otg/usbdev_rk30.c b/drivers/usb/dwc_otg/usbdev_rk30.c index 9c4c20093e45..c00e790efb8d 100755 --- a/drivers/usb/dwc_otg/usbdev_rk30.c +++ b/drivers/usb/dwc_otg/usbdev_rk30.c @@ -30,6 +30,9 @@ #elif defined(CONFIG_SOC_RK3168) || defined(CONFIG_SOC_RK3188) || defined(CONFIG_SOC_RK3168M) #define RK3066B_HOST_DRV_VBUS RK30_PIN0_PC0 #define RK3066B_OTG_DRV_VBUS RK30_PIN3_PD5 +#elif defined(CONFIG_SOC_RK2928B) +#define RK3066B_HOST_DRV_VBUS RK30_PIN1_PA4 +#define RK3066B_OTG_DRV_VBUS RK30_PIN3_PD7 #endif #else