2 * include/linux/mfd/muic_noti.h
4 * SEC MUIC Notification header file
8 #ifndef LINUX_MFD_MUICNOTI_H
9 #define LINUX_MFD_MUICNOTI_H
11 extern int unregister_muic_notifier(struct notifier_block *nb);
12 extern int register_muic_notifier(struct notifier_block *nb);
14 #ifdef CONFIG_MUIC_SUPPORT_PS_CABLE
15 #define MUIC_PS_DETACH_NOTI 0x0006
16 #define MUIC_PS_ATTACH_NOTI 0x0005
18 #define MUIC_OTG_DETACH_NOTI 0x0004
19 #define MUIC_OTG_ATTACH_NOTI 0x0003
20 #define MUIC_VBUS_NOTI 0x0002
21 #define MUIC_USB_ATTACH_NOTI 0x0001
22 #define MUIC_USB_DETACH_NOTI 0x0000
24 struct muic_notifier_param {
29 #endif /* LINUX_MFD_SM5504_H */