0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef __ASM_ARM_ARCH_UDC_H
0014 #define __ASM_ARM_ARCH_UDC_H
0015
0016 enum s3c2410_udc_cmd_e {
0017 S3C2410_UDC_P_ENABLE = 1,
0018 S3C2410_UDC_P_DISABLE = 2,
0019 S3C2410_UDC_P_RESET = 3,
0020 };
0021
0022 struct s3c2410_udc_mach_info {
0023 void (*udc_command)(enum s3c2410_udc_cmd_e);
0024 void (*vbus_draw)(unsigned int ma);
0025
0026 unsigned int pullup_pin;
0027 unsigned int pullup_pin_inverted;
0028
0029 unsigned int vbus_pin;
0030 unsigned char vbus_pin_inverted;
0031 };
0032
0033 extern void __init s3c24xx_udc_set_platdata(struct s3c2410_udc_mach_info *);
0034
0035 struct s3c24xx_hsudc_platdata;
0036
0037 extern void __init s3c24xx_hsudc_set_platdata(struct s3c24xx_hsudc_platdata *pd);
0038
0039 #endif