Update from product codes
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / include / linux / mfd / muic_noti.h
1 /*
2  * include/linux/mfd/muic_noti.h
3  *
4  * SEC MUIC Notification header file
5  *
6  */
7
8 #ifndef LINUX_MFD_MUICNOTI_H
9 #define LINUX_MFD_MUICNOTI_H
10
11 extern int unregister_muic_notifier(struct notifier_block *nb);
12 extern int register_muic_notifier(struct notifier_block *nb);
13
14 #ifdef CONFIG_MUIC_SUPPORT_PS_CABLE
15 #define MUIC_PS_DETACH_NOTI             0x0006
16 #define MUIC_PS_ATTACH_NOTI             0x0005
17 #endif
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
23
24 struct muic_notifier_param {
25         uint32_t vbus_status;
26         int cable_type;
27 };
28
29 #endif /* LINUX_MFD_SM5504_H */