diff options
author | sbrissen <sbrissen@hotmail.com> | 2013-06-21 07:40:19 -0400 |
---|---|---|
committer | Daniel Hillenbrand <codeworkx@cyanogenmod.org> | 2013-06-25 17:05:03 +0200 |
commit | cb93f68cb9ab19d9647962568b4c895548a869e8 (patch) | |
tree | 489bbfb6351db1d685e81c3d8c9c118544b68be4 /include/linux/30pin_con.h | |
parent | 5b3cb3ccc3df3b6106b5ae91f1ca77fcb1d99064 (diff) | |
download | kernel_samsung_smdk4412-cb93f68cb9ab19d9647962568b4c895548a869e8.zip kernel_samsung_smdk4412-cb93f68cb9ab19d9647962568b4c895548a869e8.tar.gz kernel_samsung_smdk4412-cb93f68cb9ab19d9647962568b4c895548a869e8.tar.bz2 |
smdk4412: add i925/p4noteltevzw support
Change-Id: I17d3befd6a6538c16db0675253927068a09085c6
Diffstat (limited to 'include/linux/30pin_con.h')
-rw-r--r-- | include/linux/30pin_con.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/30pin_con.h b/include/linux/30pin_con.h index 9e3a4c1..b356155 100644 --- a/include/linux/30pin_con.h +++ b/include/linux/30pin_con.h @@ -26,10 +26,16 @@ struct sec_keyboard_platform_data { int (*wakeup_key)(void); void (*check_uart_path)(bool en); void (*acc_power)(u8 token, bool active); + int (*noti_univ_kbd_dock)(unsigned int code); void (*register_cb)(struct sec_keyboard_callbacks *cb); }; #endif +struct sec_30pin_callbacks { + int (*noti_univ_kdb_dock)(struct sec_30pin_callbacks *cb, + unsigned int code); +}; + struct acc_con_platform_data { void (*otg_en) (int active); void (*acc_power) (u8 token, bool active); @@ -37,6 +43,7 @@ struct acc_con_platform_data { int (*get_acc_state)(void); int (*get_dock_state)(void); int (*check_keyboard)(bool attached); + void (*register_cb)(struct sec_30pin_callbacks *cb); int accessory_irq_gpio; int dock_irq_gpio; int mhl_irq_gpio; @@ -48,6 +55,10 @@ u16 stmpe811_get_adc_data(u8 channel); #endif extern struct device *sec_switch_dev; +#ifdef CONFIG_MACH_P4NOTE +extern void host_notifier_enable_irq(void); +extern void host_notifier_disable_irq(void); +#endif #ifdef CONFIG_SAMSUNG_MHL_9290 int acc_register_notifier(struct notifier_block *nb); #endif |