git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: s3c2410_udc: Add common implementation for GPIO controlled pullups
[pandora-kernel.git]
/
arch
/
arm
/
plat-s3c24xx
/
include
/
plat
/
udc.h
diff --git
a/arch/arm/plat-s3c24xx/include/plat/udc.h
b/arch/arm/plat-s3c24xx/include/plat/udc.h
index
546bb40
..
80457c6
100644
(file)
--- a/
arch/arm/plat-s3c24xx/include/plat/udc.h
+++ b/
arch/arm/plat-s3c24xx/include/plat/udc.h
@@
-27,6
+27,10
@@
enum s3c2410_udc_cmd_e {
struct s3c2410_udc_mach_info {
void (*udc_command)(enum s3c2410_udc_cmd_e);
void (*vbus_draw)(unsigned int ma);
+
+ unsigned int pullup_pin;
+ unsigned int pullup_pin_inverted;
+
unsigned int vbus_pin;
unsigned char vbus_pin_inverted;
};