4 /* USB Charger Types */
6 USB_BC_TYPE_DISCNT = 0,
57 #define T_DCD_TIMEOUT (400)
58 #define T_BC_WAIT_CHGDET (40)
59 #define T_BC_CHGDET_VALID (200)
67 /***********************************
72 3 : CDP - pc with big currect charge
73 ***********************************/
74 extern int dwc_otg_check_dpdm(bool wait);
75 extern enum bc_port_type usb_battery_charger_detect(bool wait);
76 extern void rk_battery_charger_detect_cb(int charger_type_new);
77 extern int rk_bc_detect_register_notifier(struct notifier_block *nb,
78 enum bc_port_type *type);
79 extern int rk_bc_detect_unregister_notifier(struct notifier_block *nb);