projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9112c2e
)
USB: support RK2928B for usb host and usb otg
author
lyz
<lyz@rock-chips.com>
Tue, 12 Mar 2013 02:16:06 +0000
(10:16 +0800)
committer
lyz
<lyz@rock-chips.com>
Tue, 12 Mar 2013 08:25:43 +0000
(16:25 +0800)
drivers/usb/dwc_otg/usbdev_rk30.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc_otg/usbdev_rk30.c
b/drivers/usb/dwc_otg/usbdev_rk30.c
index 9c4c20093e455a41a178823fa4378cce4bb98a45..c00e790efb8d20b990d5af5493a786aa1b8d2ee3 100755
(executable)
--- 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)
\r
#define RK3066B_HOST_DRV_VBUS RK30_PIN0_PC0
\r
#define RK3066B_OTG_DRV_VBUS RK30_PIN3_PD5
\r
+#elif defined(CONFIG_SOC_RK2928B)
\r
+#define RK3066B_HOST_DRV_VBUS RK30_PIN1_PA4
\r
+#define RK3066B_OTG_DRV_VBUS RK30_PIN3_PD7
\r
#endif
\r
\r
#else
\r