Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/i2c/mcs.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <linux/irq.h>
#include <linux/slab.h>
#include <linux/pm.h>
Go to the source code of this file.
Data Structures | |
struct | mcs_touchkey_chip |
struct | mcs_touchkey_data |
Macros | |
#define | MCS5000_TOUCHKEY_STATUS 0x04 |
#define | MCS5000_TOUCHKEY_STATUS_PRESS 7 |
#define | MCS5000_TOUCHKEY_FW 0x0a |
#define | MCS5000_TOUCHKEY_BASE_VAL 0x61 |
#define | MCS5080_TOUCHKEY_STATUS 0x00 |
#define | MCS5080_TOUCHKEY_STATUS_PRESS 3 |
#define | MCS5080_TOUCHKEY_FW 0x01 |
#define | MCS5080_TOUCHKEY_BASE_VAL 0x1 |
Enumerations | |
enum | mcs_touchkey_type { MCS5000_TOUCHKEY, MCS5080_TOUCHKEY } |
Functions | |
MODULE_DEVICE_TABLE (i2c, mcs_touchkey_id) | |
module_i2c_driver (mcs_touchkey_driver) | |
MODULE_AUTHOR ("Joonyoung Shim <[email protected]>") | |
MODULE_AUTHOR ("HeungJun Kim <[email protected]>") | |
MODULE_DESCRIPTION ("Touchkey driver for MELFAS MCS5000/5080 controller") | |
MODULE_LICENSE ("GPL") | |
#define MCS5000_TOUCHKEY_BASE_VAL 0x61 |
Definition at line 28 of file mcs_touchkey.c.
#define MCS5000_TOUCHKEY_FW 0x0a |
Definition at line 27 of file mcs_touchkey.c.
#define MCS5000_TOUCHKEY_STATUS 0x04 |
Definition at line 25 of file mcs_touchkey.c.
#define MCS5000_TOUCHKEY_STATUS_PRESS 7 |
Definition at line 26 of file mcs_touchkey.c.
#define MCS5080_TOUCHKEY_BASE_VAL 0x1 |
Definition at line 34 of file mcs_touchkey.c.
#define MCS5080_TOUCHKEY_FW 0x01 |
Definition at line 33 of file mcs_touchkey.c.
#define MCS5080_TOUCHKEY_STATUS 0x00 |
Definition at line 31 of file mcs_touchkey.c.
#define MCS5080_TOUCHKEY_STATUS_PRESS 3 |
Definition at line 32 of file mcs_touchkey.c.
enum mcs_touchkey_type |
Definition at line 36 of file mcs_touchkey.c.
MODULE_AUTHOR | ( | "Joonyoung Shim <[email protected]>" | ) |
MODULE_AUTHOR | ( | "HeungJun Kim <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Touchkey driver for MELFAS MCS5000/5080 controller" | ) |
MODULE_DEVICE_TABLE | ( | i2c | , |
mcs_touchkey_id | |||
) |
module_i2c_driver | ( | mcs_touchkey_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |