1
2
3
4
5
6
7
8
9
10
11
12
13 #ifndef __ASM_ARM_ARCH_UDC_H
14 #define __ASM_ARM_ARCH_UDC_H
15
16 enum s3c2410_udc_cmd_e {
17 S3C2410_UDC_P_ENABLE = 1,
18 S3C2410_UDC_P_DISABLE = 2,
19 S3C2410_UDC_P_RESET = 3,
20 };
21
22 struct s3c2410_udc_mach_info {
23 void (*udc_command)(enum s3c2410_udc_cmd_e);
24 void (*vbus_draw)(unsigned int ma);
25
26 unsigned int pullup_pin;
27 unsigned int pullup_pin_inverted;
28
29 unsigned int vbus_pin;
30 unsigned char vbus_pin_inverted;
31 };
32
33 extern void __init s3c24xx_udc_set_platdata(struct s3c2410_udc_mach_info *);
34
35 struct s3c24xx_hsudc_platdata;
36
37 extern void __init s3c24xx_hsudc_set_platdata(struct s3c24xx_hsudc_platdata *pd);
38
39 #endif