aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/input/sec-input-bridge.h
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.com>2012-09-22 09:48:20 +0200
committercodeworkx <codeworkx@cyanogenmod.com>2012-09-22 14:02:16 +0200
commit2489007e7d740ccbc3e0a202914e243ad5178787 (patch)
treeb8e6380ea7b1da63474ad68a5dba997e01146043 /include/linux/input/sec-input-bridge.h
parent5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff)
downloadkernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
Diffstat (limited to 'include/linux/input/sec-input-bridge.h')
-rw-r--r--include/linux/input/sec-input-bridge.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/linux/input/sec-input-bridge.h b/include/linux/input/sec-input-bridge.h
new file mode 100644
index 0000000..0e5aa59
--- /dev/null
+++ b/include/linux/input/sec-input-bridge.h
@@ -0,0 +1,36 @@
+#ifndef LINUX_INPUT_SEC_INPUT_BRIDGE_H
+#define LINUX_INPUT_SEC_INPUT_BRIDGE_H
+
+#include <linux/kobject.h>
+
+enum mkey_check_option {
+ MKEY_CHECK_AUTO,
+ MKEY_CHECK_AWAYS
+};
+
+struct sec_input_bridge_mkey {
+ unsigned int type;
+ unsigned int code;
+ enum mkey_check_option option;
+};
+
+struct sec_input_bridge_mmap {
+ const struct sec_input_bridge_mkey *mkey_map;
+ unsigned int num_mkey;
+ const char *uevent_env_str;
+ const char *uevent_env_value;
+ const unsigned char enable_uevent;
+ void (*pre_event_func)(void *event_data);
+ enum kobject_action uevent_action;
+};
+
+struct sec_input_bridge_platform_data {
+ void *event_data;
+
+ const struct sec_input_bridge_mmap *mmap;
+ unsigned int num_map;
+ void (*lcd_warning_func)(void);
+};
+
+#endif /* LINUX_INPUT_SEC_INPUT_BRIDGE_H */
+